{
  "name": "Xero Accounting Connector",
  "description": "",
  "version": "1.0.1-RC5",
  "vendor": "Mulesoft",
  "category": "SELECT",
  "xmlDsl": {
    "prefix": "xero-accounting",
    "namespace": "http://www.mulesoft.org/schema/mule/xero-accounting",
    "schemaLocation": "http://www.mulesoft.org/schema/mule/xero-accounting/current/mule-xero-accounting.xsd",
    "schemaVersion": "1.0.1-RC5",
    "xsdFileName": "mule-xero-accounting.xsd"
  },
  "resources": [],
  "subTypes": [],
  "privilegedPackages": [],
  "privilegedArtifacts": [],
  "externalLibraries": [],
  "importedTypes": [
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "org.mule.runtime.api.store.ObjectStore",
        "extensibleType": {},
        "typeAlias": {
          "value": "ObjectStore"
        },
        "classInformation": {
          "classname": "org.mule.runtime.api.store.ObjectStore",
          "hasDefaultConstructor": false,
          "isInterface": true,
          "isInstantiable": false,
          "isAbstract": true,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        }
      },
      "fields": []
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "org.mule.runtime.core.api.source.scheduler.Scheduler",
        "classInformation": {
          "classname": "org.mule.runtime.core.api.source.scheduler.Scheduler",
          "hasDefaultConstructor": false,
          "isInterface": true,
          "isInstantiable": false,
          "isAbstract": true,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "scheduling-strategy"
        }
      },
      "fields": []
    }
  ],
  "configurations": [
    {
      "stereotype": {
        "type": "CONFIG",
        "namespace": "XERO-ACCOUNTING",
        "parent": {
          "type": "MODULE_CONFIG",
          "namespace": "MULE"
        }
      },
      "parameterGroupModels": [
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "Number",
                "annotations": {
                  "classInformation": {
                    "classname": "java.lang.Integer",
                    "hasDefaultConstructor": false,
                    "isInterface": false,
                    "isInstantiable": false,
                    "isAbstract": false,
                    "isFinal": true,
                    "implementedInterfaces": [
                      "java.lang.Comparable"
                    ],
                    "parent": "java.lang.Number",
                    "genericTypes": [],
                    "isMap": false
                  },
                  "int": {}
                }
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "expressionSupport": "SUPPORTED",
              "defaultValue": "1",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "name": "responseTimeout",
              "displayModel": {
                "summary": "The timeout for request to the remote service."
              },
              "description": "",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "String",
                "annotations": {
                  "typeId": "java.util.concurrent.TimeUnit",
                  "enum": {
                    "type": "[Ljava.lang.String;",
                    "values": [
                      "NANOSECONDS",
                      "MICROSECONDS",
                      "MILLISECONDS",
                      "SECONDS",
                      "MINUTES",
                      "HOURS",
                      "DAYS"
                    ]
                  }
                }
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "expressionSupport": "SUPPORTED",
              "defaultValue": "MINUTES",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "name": "responseTimeoutUnit",
              "displayModel": {
                "summary": "A time unit which qualifies the Response Timeout}"
              },
              "description": "",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "String",
                "annotations": {
                  "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                  "enum": {
                    "type": "[Ljava.lang.String;",
                    "values": [
                      "AUTO",
                      "ALWAYS",
                      "NEVER"
                    ]
                  }
                }
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "expressionSupport": "SUPPORTED",
              "defaultValue": "AUTO",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "name": "streamingType",
              "displayModel": {
                "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
              },
              "description": "",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": true,
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "allowedStereotypeModels": [],
              "name": "name",
              "description": "The identifier of this element used to reference it in other components",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "Object",
                "annotations": {
                  "typeId": "org.mule.runtime.extension.api.runtime.ExpirationPolicy",
                  "description": {
                    "value": "Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean that the platform will expire the instance at the exact moment that it becomes eligible. The runtime will actually purge the instances when it sees it fit."
                  },
                  "typeDsl": {
                    "allowInlineDefinition": true,
                    "allowTopLevelDefinition": false
                  }
                },
                "fields": [
                  {
                    "key": {
                      "name": "maxIdleTime"
                    },
                    "model": {
                      "type": "Number",
                      "annotations": {
                        "int": {},
                        "classInformation": {
                          "classname": "java.lang.Long",
                          "hasDefaultConstructor": false,
                          "isInterface": false,
                          "isInstantiable": false,
                          "isAbstract": false,
                          "isFinal": true,
                          "implementedInterfaces": [
                            "java.lang.Comparable"
                          ],
                          "parent": "java.lang.Number",
                          "genericTypes": [],
                          "isMap": false
                        },
                        "default": "5"
                      }
                    },
                    "annotations": {
                      "description": {
                        "value": "A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it\u0027s considered eligible for expiration"
                      },
                      "expressionSupport": {
                        "value": "NOT_SUPPORTED"
                      }
                    }
                  },
                  {
                    "key": {
                      "name": "timeUnit"
                    },
                    "model": {
                      "type": "String",
                      "annotations": {
                        "enum": {
                          "type": "[Ljava.lang.String;",
                          "values": [
                            "NANOSECONDS",
                            "MICROSECONDS",
                            "MILLISECONDS",
                            "SECONDS",
                            "MINUTES",
                            "HOURS",
                            "DAYS"
                          ]
                        },
                        "default": "MINUTES"
                      }
                    },
                    "annotations": {
                      "description": {
                        "value": "A time unit that qualifies the maxIdleTime attribute"
                      },
                      "expressionSupport": {
                        "value": "NOT_SUPPORTED"
                      }
                    }
                  }
                ]
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": true,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "name": "expirationPolicy",
              "description": "Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean that the platform will expire the instance at the exact moment that it becomes eligible. The runtime will actually purge the instances when it sees it fit.",
              "modelProperties": {
                "org.mule.runtime.extension.api.property.QNameModelProperty": {
                  "value": {
                    "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                    "localPart": "expiration-policy",
                    "prefix": "mule"
                  }
                },
                "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                  "sequence": 4
                }
              }
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 1
          },
          "showInDsl": false,
          "name": "General",
          "description": "",
          "modelProperties": {}
        }
      ],
      "externalLibraryModels": [],
      "operations": [
        {
          "blocking": false,
          "executionType": "CPU_LITE",
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Contacts"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "Discount"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Website"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PaymentTerms"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Sales"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Bills"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Attachments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "FileName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContentLength"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {}
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IncludeOnline"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttachmentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Url"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "MimeType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Addresses"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "AddressLine3"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine2"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine1"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttentionTo"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine4"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Region"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PostalCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Country"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "City"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "POBOX",
                                          "STREET"
                                        ]
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "IsSupplier"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Phones"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "PhoneAreaCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 10
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneCountryCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 20
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "OFFICE",
                                          "DDI",
                                          "FAX",
                                          "DEFAULT",
                                          "MOBILE"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneNumber"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsReceivableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsPayableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BankAccountDetails"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BatchPayments"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "BankAccountName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Details"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Code"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountNumber"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TaxNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "BrandingTheme"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "CreatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "INVOICE"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LogoUrl"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "SortOrder"
                                },
                                "model": {
                                  "type": "Number",
                                  "annotations": {
                                    "int": {}
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactGroups"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACTIVE",
                                          "DELETED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContactGroupID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contacts"
                                  },
                                  "model": "#../../../.."
                                },
                                {
                                  "key": {
                                    "name": "Name"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsCustomer"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "DefaultCurrency"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "",
                                  "FJD",
                                  "MXN",
                                  "SCR",
                                  "TVD",
                                  "CDF",
                                  "BBD",
                                  "GTQ",
                                  "CLP",
                                  "HNL",
                                  "UGX",
                                  "ZAR",
                                  "TND",
                                  "STN",
                                  "CUC",
                                  "BSD",
                                  "SLL",
                                  "SDG",
                                  "IQD",
                                  "CUP",
                                  "GMD",
                                  "TWD",
                                  "RSD",
                                  "DOP",
                                  "KMF",
                                  "MYR",
                                  "FKP",
                                  "XOF",
                                  "GEL",
                                  "UYU",
                                  "MAD",
                                  "CVE",
                                  "TOP",
                                  "AZN",
                                  "OMR",
                                  "PGK",
                                  "KES",
                                  "SEK",
                                  "BTN",
                                  "UAH",
                                  "GNF",
                                  "ERN",
                                  "MZN",
                                  "SVC",
                                  "ARS",
                                  "QAR",
                                  "IRR",
                                  "CNY",
                                  "THB",
                                  "UZS",
                                  "XPF",
                                  "MRU",
                                  "BDT",
                                  "LYD",
                                  "BMD",
                                  "KWD",
                                  "PHP",
                                  "RUB",
                                  "PYG",
                                  "ISK",
                                  "JMD",
                                  "COP",
                                  "MKD",
                                  "USD",
                                  "DZD",
                                  "PAB",
                                  "GGP",
                                  "SGD",
                                  "ETB",
                                  "JEP",
                                  "KGS",
                                  "SOS",
                                  "VEF",
                                  "VUV",
                                  "LAK",
                                  "BND",
                                  "ZMK",
                                  "XAF",
                                  "LRD",
                                  "CHF",
                                  "HRK",
                                  "ALL",
                                  "DJF",
                                  "ZMW",
                                  "TZS",
                                  "VND",
                                  "SPL",
                                  "AUD",
                                  "ILS",
                                  "GHS",
                                  "GYD",
                                  "KPW",
                                  "BOB",
                                  "KHR",
                                  "MDL",
                                  "IDR",
                                  "KYD",
                                  "AMD",
                                  "BWP",
                                  "SHP",
                                  "TRY",
                                  "LBP",
                                  "TJS",
                                  "JOD",
                                  "AED",
                                  "HKD",
                                  "RWF",
                                  "EUR",
                                  "LSL",
                                  "DKK",
                                  "ZWD",
                                  "CAD",
                                  "BGN",
                                  "MMK",
                                  "MUR",
                                  "NOK",
                                  "SYP",
                                  "IMP",
                                  "GIP",
                                  "RON",
                                  "LKR",
                                  "NGN",
                                  "CRC",
                                  "CZK",
                                  "PKR",
                                  "XCD",
                                  "ANG",
                                  "HTG",
                                  "BHD",
                                  "KZT",
                                  "SRD",
                                  "SZL",
                                  "LTL",
                                  "SAR",
                                  "TTD",
                                  "YER",
                                  "MVR",
                                  "AFN",
                                  "INR",
                                  "AWG",
                                  "KRW",
                                  "NPR",
                                  "JPY",
                                  "MNT",
                                  "AOA",
                                  "PLN",
                                  "GBP",
                                  "SBD",
                                  "BYN",
                                  "HUF",
                                  "BYR",
                                  "BIF",
                                  "MWK",
                                  "MGA",
                                  "XDR",
                                  "BZD",
                                  "BAM",
                                  "EGP",
                                  "MOP",
                                  "NAD",
                                  "NIO",
                                  "PEN",
                                  "NZD",
                                  "WST",
                                  "TMT",
                                  "BRL"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "FirstName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SkypeUserName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasAttachments"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Balances"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "AccountsPayable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsReceivable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "EmailAddress"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryOption"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ContactPersons"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "IncludeInEmails"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FirstName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LastName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "EmailAddress"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "ContactStatus"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "ACTIVE",
                                  "ARCHIVED",
                                  "GDPRREQUEST"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "LastName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasValidationErrors"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "XeroNetworkKey"
                          },
                          "model": {
                            "type": "String"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:RETRY_EXHAUSTED",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "CREATE_CONTACTS",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "false",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "summarizeErrors",
                  "displayModel": {
                    "displayName": "Summarize Errors",
                    "summary": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors."
                  },
                  "description": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "json",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.io.InputStream",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.io.Closeable"
                        ],
                        "parent": "",
                        "genericTypes": [],
                        "isMap": false
                      }
                    },
                    "open": {
                      "type": "Any"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "Contacts"
                        },
                        "model": {
                          "type": "Array",
                          "item": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Discount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Website"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "PaymentTerms"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Sales"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "OFCURRENTMONTH",
                                                    "OFFOLLOWINGMONTH",
                                                    "DAYSAFTERBILLMONTH",
                                                    "DAYSAFTERBILLDATE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Day"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Bills"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "OFCURRENTMONTH",
                                                    "OFFOLLOWINGMONTH",
                                                    "DAYSAFTERBILLMONTH",
                                                    "DAYSAFTERBILLDATE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Day"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SalesTrackingCategories"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingOptionName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Addresses"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "AddressLine3"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine2"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine1"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttentionTo"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine4"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Region"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PostalCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Country"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "City"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "POBOX",
                                                "STREET"
                                              ]
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SalesDefaultAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "IsSupplier"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Phones"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "PhoneAreaCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 10
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneCountryCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 20
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "OFFICE",
                                                "DDI",
                                                "FAX",
                                                "DEFAULT",
                                                "MOBILE"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsReceivableTaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsPayableTaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountDetails"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchasesDefaultAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BatchPayments"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "BankAccountName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Details"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Reference"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 12
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Code"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 12
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountNumber"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TaxNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingTheme"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "CreatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingThemeID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "INVOICE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LogoUrl"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SortOrder"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactGroups"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "DELETED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroupID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contacts"
                                        },
                                        "model": "#../../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "IsCustomer"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "DefaultCurrency"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "FirstName"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SkypeUserName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Balances"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "AccountsPayable"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Outstanding"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Overdue"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivable"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Outstanding"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Overdue"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "EmailAddress"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchasesTrackingCategories"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingOptionName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TrackingCategoryOption"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactPersons"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "IncludeInEmails"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactStatus"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACTIVE",
                                        "ARCHIVED",
                                        "GDPRREQUEST"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LastName"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TrackingCategoryName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasValidationErrors"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "XeroNetworkKey"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[payload]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "contactsContent",
                  "displayModel": {
                    "displayName": "Body"
                  },
                  "description": "the content to use",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "createContacts",
          "displayModel": {
            "displayName": "Update Or Create Contacts",
            "summary": "Updates or creates one or more contacts in a Xero organisation."
          },
          "description": "Updates or creates one or more contacts in a Xero organisation. This operation makes an HTTP POST request to the /Contacts endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": false,
          "executionType": "CPU_LITE",
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Invoices"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "BrandingThemeID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "CurrencyRate"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AmountPaid"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "AmountCredited"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Payments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Account"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "DELETED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ShowInExpenseClaims"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Code"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 150
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ReportingCodeName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EnablePaymentsToAccount"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "OTHERINCOME",
                                                "BANK",
                                                "CURRLIAB",
                                                "SUPERANNUATIONEXPENSE",
                                                "REVENUE",
                                                "DIRECTCOSTS",
                                                "SUPERANNUATIONLIABILITY",
                                                "FIXED",
                                                "LIABILITY",
                                                "OVERHEADS",
                                                "CURRENT",
                                                "WAGESEXPENSE",
                                                "DEPRECIATN",
                                                "INVENTORY",
                                                "PREPAYMENT",
                                                "TERMLIAB",
                                                "EXPENSE",
                                                "PAYG",
                                                "SALES",
                                                "NONCURRENT",
                                                "EQUITY",
                                                "PAYGLIABILITY"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "BANK",
                                                "PAYPAL",
                                                "CREDITCARD",
                                                "NONE"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddToWatchlist"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Class"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "REVENUE",
                                                "EXPENSE",
                                                "LIABILITY",
                                                "ASSET",
                                                "EQUITY"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ReportingCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SystemAccount"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "HISTORICAL",
                                                "CISLIABILITY",
                                                "GST",
                                                "REALISEDCURRENCYGAIN",
                                                "CISMATERIALS",
                                                "CISLABOUR",
                                                "CISLABOUREXPENSE",
                                                "UNREALISEDCURRENCYGAIN",
                                                "GSTONIMPORTS",
                                                "CISASSET",
                                                "DEBTORS",
                                                "TRACKINGTRANSFERS",
                                                "CISLABOURINCOME",
                                                "RETAINEDEARNINGS",
                                                "BANKCURRENCYGAIN",
                                                "ROUNDING",
                                                "CISASSETS",
                                                "CREDITORS",
                                                "UNPAIDEXPCLM",
                                                "WAGEPAYABLES"
                                              ]
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Invoice"
                                  },
                                  "model": "#../../.."
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BatchPaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ValidationErrors"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNote"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingThemeID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DueDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "DRAFT",
                                                "PAID",
                                                "SUBMITTED",
                                                "DELETED",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SentToContact"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISDeduction"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACCPAYCREDIT",
                                                "ACCRECCREDIT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FullyPaidOnDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Warnings"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Particulars"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PaymentType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "APOVERPAYMENTPAYMENT",
                                          "APCREDITPAYMENT",
                                          "ARCREDITPAYMENT",
                                          "ACCRECPAYMENT",
                                          "AROVERPAYMENTPAYMENT",
                                          "ARPREPAYMENTPAYMENT",
                                          "ACCPAYPAYMENT",
                                          "APPREPAYMENTPAYMENT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAccount"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "InvoiceNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Overpayment"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "SPEND-OVERPAYMENT",
                                                "AROVERPAYMENT",
                                                "RECEIVE-OVERPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "OverpaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "DELETED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNoteNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "StatusAttributeString"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Amount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IsReconciled"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Code"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Details"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Prepayment"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ARPREPAYMENT",
                                                "SPEND-PREPAYMENT",
                                                "APPREPAYMENT",
                                                "RECEIVE-PREPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PrepaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasValidationErrors"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BankAccountNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "CreditNotes"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Account"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ShowInExpenseClaims"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 150
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCodeName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EnablePaymentsToAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OTHERINCOME",
                                                                      "BANK",
                                                                      "CURRLIAB",
                                                                      "SUPERANNUATIONEXPENSE",
                                                                      "REVENUE",
                                                                      "DIRECTCOSTS",
                                                                      "SUPERANNUATIONLIABILITY",
                                                                      "FIXED",
                                                                      "LIABILITY",
                                                                      "OVERHEADS",
                                                                      "CURRENT",
                                                                      "WAGESEXPENSE",
                                                                      "DEPRECIATN",
                                                                      "INVENTORY",
                                                                      "PREPAYMENT",
                                                                      "TERMLIAB",
                                                                      "EXPENSE",
                                                                      "PAYG",
                                                                      "SALES",
                                                                      "NONCURRENT",
                                                                      "EQUITY",
                                                                      "PAYGLIABILITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "BANK",
                                                                      "PAYPAL",
                                                                      "CREDITCARD",
                                                                      "NONE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddToWatchlist"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Class"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "REVENUE",
                                                                      "EXPENSE",
                                                                      "LIABILITY",
                                                                      "ASSET",
                                                                      "EQUITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SystemAccount"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "HISTORICAL",
                                                                      "CISLIABILITY",
                                                                      "GST",
                                                                      "REALISEDCURRENCYGAIN",
                                                                      "CISMATERIALS",
                                                                      "CISLABOUR",
                                                                      "CISLABOUREXPENSE",
                                                                      "UNREALISEDCURRENCYGAIN",
                                                                      "GSTONIMPORTS",
                                                                      "CISASSET",
                                                                      "DEBTORS",
                                                                      "TRACKINGTRANSFERS",
                                                                      "CISLABOURINCOME",
                                                                      "RETAINEDEARNINGS",
                                                                      "BANKCURRENCYGAIN",
                                                                      "ROUNDING",
                                                                      "CISASSETS",
                                                                      "CREDITORS",
                                                                      "UNPAIDEXPCLM",
                                                                      "WAGEPAYABLES"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Invoice"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BatchPaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Particulars"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "APOVERPAYMENTPAYMENT",
                                                                "APCREDITPAYMENT",
                                                                "ARCREDITPAYMENT",
                                                                "ACCRECPAYMENT",
                                                                "AROVERPAYMENTPAYMENT",
                                                                "ARPREPAYMENTPAYMENT",
                                                                "ACCPAYPAYMENT",
                                                                "APPREPAYMENTPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAccount"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "InvoiceNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IsReconciled"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Code"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Details"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ARPREPAYMENT",
                                                                      "SPEND-PREPAYMENT",
                                                                      "APPREPAYMENT",
                                                                      "RECEIVE-PREPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PrepaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BankAccountNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "SPEND-OVERPAYMENT",
                                                        "AROVERPAYMENT",
                                                        "RECEIVE-OVERPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "OverpaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BrandingThemeID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ValidationErrors"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Payments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Account"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "ARCHIVED",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ShowInExpenseClaims"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Code"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 150
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ReportingCodeName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EnablePaymentsToAccount"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OTHERINCOME",
                                                        "BANK",
                                                        "CURRLIAB",
                                                        "SUPERANNUATIONEXPENSE",
                                                        "REVENUE",
                                                        "DIRECTCOSTS",
                                                        "SUPERANNUATIONLIABILITY",
                                                        "FIXED",
                                                        "LIABILITY",
                                                        "OVERHEADS",
                                                        "CURRENT",
                                                        "WAGESEXPENSE",
                                                        "DEPRECIATN",
                                                        "INVENTORY",
                                                        "PREPAYMENT",
                                                        "TERMLIAB",
                                                        "EXPENSE",
                                                        "PAYG",
                                                        "SALES",
                                                        "NONCURRENT",
                                                        "EQUITY",
                                                        "PAYGLIABILITY"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "BANK",
                                                        "PAYPAL",
                                                        "CREDITCARD",
                                                        "NONE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddToWatchlist"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Class"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "REVENUE",
                                                        "EXPENSE",
                                                        "LIABILITY",
                                                        "ASSET",
                                                        "EQUITY"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ReportingCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SystemAccount"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "HISTORICAL",
                                                        "CISLIABILITY",
                                                        "GST",
                                                        "REALISEDCURRENCYGAIN",
                                                        "CISMATERIALS",
                                                        "CISLABOUR",
                                                        "CISLABOUREXPENSE",
                                                        "UNREALISEDCURRENCYGAIN",
                                                        "GSTONIMPORTS",
                                                        "CISASSET",
                                                        "DEBTORS",
                                                        "TRACKINGTRANSFERS",
                                                        "CISLABOURINCOME",
                                                        "RETAINEDEARNINGS",
                                                        "BANKCURRENCYGAIN",
                                                        "ROUNDING",
                                                        "CISASSETS",
                                                        "CREDITORS",
                                                        "UNPAIDEXPCLM",
                                                        "WAGEPAYABLES"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Invoice"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UpdatedDateUTC"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "BatchPaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "PaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Particulars"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "PaymentType"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "APOVERPAYMENTPAYMENT",
                                                  "APCREDITPAYMENT",
                                                  "ARCREDITPAYMENT",
                                                  "ACCRECPAYMENT",
                                                  "AROVERPAYMENTPAYMENT",
                                                  "ARPREPAYMENTPAYMENT",
                                                  "ACCPAYPAYMENT",
                                                  "APPREPAYMENTPAYMENT"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasAccount"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "InvoiceNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Invoice",
                                                          "required": "true"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ARPREPAYMENT",
                                                                      "SPEND-PREPAYMENT",
                                                                      "APPREPAYMENT",
                                                                      "RECEIVE-PREPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PrepaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "SPEND-OVERPAYMENT",
                                                        "AROVERPAYMENT",
                                                        "RECEIVE-OVERPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "OverpaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Status"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "AUTHORISED",
                                                  "DELETED"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNoteNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Reference"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IsReconciled"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Code"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Details"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Invoice",
                                                          "required": "true"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Payments"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "SPEND-OVERPAYMENT",
                                                                      "AROVERPAYMENT",
                                                                      "RECEIVE-OVERPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "OverpaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasValidationErrors"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "BankAccountNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "DueDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "DRAFT",
                                          "PAID",
                                          "SUBMITTED",
                                          "DELETED",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNoteID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNoteNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "StatusAttributeString"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SentToContact"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISDeduction"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACCPAYCREDIT",
                                          "ACCRECCREDIT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FullyPaidOnDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasErrors"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Warnings"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SubTotal"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Attachments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "FileName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContentLength"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {}
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IncludeOnline"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttachmentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Url"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "MimeType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Url"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "CurrencyCode"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "",
                                  "FJD",
                                  "MXN",
                                  "SCR",
                                  "TVD",
                                  "CDF",
                                  "BBD",
                                  "GTQ",
                                  "CLP",
                                  "HNL",
                                  "UGX",
                                  "ZAR",
                                  "TND",
                                  "STN",
                                  "CUC",
                                  "BSD",
                                  "SLL",
                                  "SDG",
                                  "IQD",
                                  "CUP",
                                  "GMD",
                                  "TWD",
                                  "RSD",
                                  "DOP",
                                  "KMF",
                                  "MYR",
                                  "FKP",
                                  "XOF",
                                  "GEL",
                                  "UYU",
                                  "MAD",
                                  "CVE",
                                  "TOP",
                                  "AZN",
                                  "OMR",
                                  "PGK",
                                  "KES",
                                  "SEK",
                                  "BTN",
                                  "UAH",
                                  "GNF",
                                  "ERN",
                                  "MZN",
                                  "SVC",
                                  "ARS",
                                  "QAR",
                                  "IRR",
                                  "CNY",
                                  "THB",
                                  "UZS",
                                  "XPF",
                                  "MRU",
                                  "BDT",
                                  "LYD",
                                  "BMD",
                                  "KWD",
                                  "PHP",
                                  "RUB",
                                  "PYG",
                                  "ISK",
                                  "JMD",
                                  "COP",
                                  "MKD",
                                  "USD",
                                  "DZD",
                                  "PAB",
                                  "GGP",
                                  "SGD",
                                  "ETB",
                                  "JEP",
                                  "KGS",
                                  "SOS",
                                  "VEF",
                                  "VUV",
                                  "LAK",
                                  "BND",
                                  "ZMK",
                                  "XAF",
                                  "LRD",
                                  "CHF",
                                  "HRK",
                                  "ALL",
                                  "DJF",
                                  "ZMW",
                                  "TZS",
                                  "VND",
                                  "SPL",
                                  "AUD",
                                  "ILS",
                                  "GHS",
                                  "GYD",
                                  "KPW",
                                  "BOB",
                                  "KHR",
                                  "MDL",
                                  "IDR",
                                  "KYD",
                                  "AMD",
                                  "BWP",
                                  "SHP",
                                  "TRY",
                                  "LBP",
                                  "TJS",
                                  "JOD",
                                  "AED",
                                  "HKD",
                                  "RWF",
                                  "EUR",
                                  "LSL",
                                  "DKK",
                                  "ZWD",
                                  "CAD",
                                  "BGN",
                                  "MMK",
                                  "MUR",
                                  "NOK",
                                  "SYP",
                                  "IMP",
                                  "GIP",
                                  "RON",
                                  "LKR",
                                  "NGN",
                                  "CRC",
                                  "CZK",
                                  "PKR",
                                  "XCD",
                                  "ANG",
                                  "HTG",
                                  "BHD",
                                  "KZT",
                                  "SRD",
                                  "SZL",
                                  "LTL",
                                  "SAR",
                                  "TTD",
                                  "YER",
                                  "MVR",
                                  "AFN",
                                  "INR",
                                  "AWG",
                                  "KRW",
                                  "NPR",
                                  "JPY",
                                  "MNT",
                                  "AOA",
                                  "PLN",
                                  "GBP",
                                  "SBD",
                                  "BYN",
                                  "HUF",
                                  "BYR",
                                  "BIF",
                                  "MWK",
                                  "MGA",
                                  "XDR",
                                  "BZD",
                                  "BAM",
                                  "EGP",
                                  "MOP",
                                  "NAD",
                                  "NIO",
                                  "PEN",
                                  "NZD",
                                  "WST",
                                  "TMT",
                                  "BRL"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PlannedPaymentDate"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "TotalTax"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "InvoiceNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "DueDate"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Status"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "AUTHORISED",
                                  "DRAFT",
                                  "PAID",
                                  "SUBMITTED",
                                  "DELETED",
                                  "VOIDED"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "LineItems"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "ItemCode"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Description"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Tracking"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "TrackingCategoryID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TrackingOptionID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Option"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Name"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "length": {
                                                "max": 100
                                              }
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Quantity"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UnitAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "DiscountRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "DiscountAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TaxType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TaxAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AccountCode"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RepeatingInvoiceID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItemID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AmountDue"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Reference"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "CISRate"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "HasAttachments"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Prepayments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "PAID",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Account"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ShowInExpenseClaims"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 150
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCodeName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EnablePaymentsToAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OTHERINCOME",
                                                                      "BANK",
                                                                      "CURRLIAB",
                                                                      "SUPERANNUATIONEXPENSE",
                                                                      "REVENUE",
                                                                      "DIRECTCOSTS",
                                                                      "SUPERANNUATIONLIABILITY",
                                                                      "FIXED",
                                                                      "LIABILITY",
                                                                      "OVERHEADS",
                                                                      "CURRENT",
                                                                      "WAGESEXPENSE",
                                                                      "DEPRECIATN",
                                                                      "INVENTORY",
                                                                      "PREPAYMENT",
                                                                      "TERMLIAB",
                                                                      "EXPENSE",
                                                                      "PAYG",
                                                                      "SALES",
                                                                      "NONCURRENT",
                                                                      "EQUITY",
                                                                      "PAYGLIABILITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "BANK",
                                                                      "PAYPAL",
                                                                      "CREDITCARD",
                                                                      "NONE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddToWatchlist"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Class"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "REVENUE",
                                                                      "EXPENSE",
                                                                      "LIABILITY",
                                                                      "ASSET",
                                                                      "EQUITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SystemAccount"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "HISTORICAL",
                                                                      "CISLIABILITY",
                                                                      "GST",
                                                                      "REALISEDCURRENCYGAIN",
                                                                      "CISMATERIALS",
                                                                      "CISLABOUR",
                                                                      "CISLABOUREXPENSE",
                                                                      "UNREALISEDCURRENCYGAIN",
                                                                      "GSTONIMPORTS",
                                                                      "CISASSET",
                                                                      "DEBTORS",
                                                                      "TRACKINGTRANSFERS",
                                                                      "CISLABOURINCOME",
                                                                      "RETAINEDEARNINGS",
                                                                      "BANKCURRENCYGAIN",
                                                                      "ROUNDING",
                                                                      "CISASSETS",
                                                                      "CREDITORS",
                                                                      "UNPAIDEXPCLM",
                                                                      "WAGEPAYABLES"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Invoice"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BatchPaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Particulars"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "APOVERPAYMENTPAYMENT",
                                                                "APCREDITPAYMENT",
                                                                "ARCREDITPAYMENT",
                                                                "ACCRECPAYMENT",
                                                                "AROVERPAYMENTPAYMENT",
                                                                "ARPREPAYMENTPAYMENT",
                                                                "ACCPAYPAYMENT",
                                                                "APPREPAYMENTPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAccount"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "InvoiceNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Payments"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "SPEND-OVERPAYMENT",
                                                                      "AROVERPAYMENT",
                                                                      "RECEIVE-OVERPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "OverpaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IsReconciled"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Code"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Details"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BankAccountNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Account"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ShowInExpenseClaims"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 150
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCodeName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EnablePaymentsToAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OTHERINCOME",
                                                                      "BANK",
                                                                      "CURRLIAB",
                                                                      "SUPERANNUATIONEXPENSE",
                                                                      "REVENUE",
                                                                      "DIRECTCOSTS",
                                                                      "SUPERANNUATIONLIABILITY",
                                                                      "FIXED",
                                                                      "LIABILITY",
                                                                      "OVERHEADS",
                                                                      "CURRENT",
                                                                      "WAGESEXPENSE",
                                                                      "DEPRECIATN",
                                                                      "INVENTORY",
                                                                      "PREPAYMENT",
                                                                      "TERMLIAB",
                                                                      "EXPENSE",
                                                                      "PAYG",
                                                                      "SALES",
                                                                      "NONCURRENT",
                                                                      "EQUITY",
                                                                      "PAYGLIABILITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "BANK",
                                                                      "PAYPAL",
                                                                      "CREDITCARD",
                                                                      "NONE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddToWatchlist"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Class"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "REVENUE",
                                                                      "EXPENSE",
                                                                      "LIABILITY",
                                                                      "ASSET",
                                                                      "EQUITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SystemAccount"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "HISTORICAL",
                                                                      "CISLIABILITY",
                                                                      "GST",
                                                                      "REALISEDCURRENCYGAIN",
                                                                      "CISMATERIALS",
                                                                      "CISLABOUR",
                                                                      "CISLABOUREXPENSE",
                                                                      "UNREALISEDCURRENCYGAIN",
                                                                      "GSTONIMPORTS",
                                                                      "CISASSET",
                                                                      "DEBTORS",
                                                                      "TRACKINGTRANSFERS",
                                                                      "CISLABOURINCOME",
                                                                      "RETAINEDEARNINGS",
                                                                      "BANKCURRENCYGAIN",
                                                                      "ROUNDING",
                                                                      "CISASSETS",
                                                                      "CREDITORS",
                                                                      "UNPAIDEXPCLM",
                                                                      "WAGEPAYABLES"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Invoice"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BatchPaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingThemeID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Payments"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DueDate"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DRAFT",
                                                                      "PAID",
                                                                      "SUBMITTED",
                                                                      "DELETED",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CISRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SentToContact"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CISDeduction"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACCPAYCREDIT",
                                                                      "ACCRECCREDIT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FullyPaidOnDate"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Warnings"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Particulars"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "APOVERPAYMENTPAYMENT",
                                                                "APCREDITPAYMENT",
                                                                "ARCREDITPAYMENT",
                                                                "ACCRECPAYMENT",
                                                                "AROVERPAYMENTPAYMENT",
                                                                "ARPREPAYMENTPAYMENT",
                                                                "ACCPAYPAYMENT",
                                                                "APPREPAYMENTPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAccount"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "InvoiceNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IsReconciled"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Code"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Details"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BankAccountNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "SPEND-OVERPAYMENT",
                                                        "AROVERPAYMENT",
                                                        "RECEIVE-OVERPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "OverpaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Attachments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "FileName"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ContentLength"
                                          },
                                          "model": {
                                            "type": "Number",
                                            "annotations": {
                                              "int": {}
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IncludeOnline"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AttachmentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Url"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "MimeType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ARPREPAYMENT",
                                          "SPEND-PREPAYMENT",
                                          "APPREPAYMENT",
                                          "RECEIVE-PREPAYMENT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PrepaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SentToContact"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "InvoiceID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Date"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Contact"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Discount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Website"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "PaymentTerms"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Sales"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "OFCURRENTMONTH",
                                                    "OFFOLLOWINGMONTH",
                                                    "DAYSAFTERBILLMONTH",
                                                    "DAYSAFTERBILLDATE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Day"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Bills"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "OFCURRENTMONTH",
                                                    "OFFOLLOWINGMONTH",
                                                    "DAYSAFTERBILLMONTH",
                                                    "DAYSAFTERBILLDATE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Day"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SalesTrackingCategories"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingOptionName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Addresses"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "AddressLine3"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine2"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine1"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttentionTo"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressLine4"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 500
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Region"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PostalCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Country"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "City"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AddressType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "POBOX",
                                                "STREET"
                                              ]
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SalesDefaultAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "IsSupplier"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Phones"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "PhoneAreaCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 10
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneCountryCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 20
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "OFFICE",
                                                "DDI",
                                                "FAX",
                                                "DEFAULT",
                                                "MOBILE"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PhoneNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsReceivableTaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsPayableTaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountDetails"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchasesDefaultAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BatchPayments"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "BankAccountName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Details"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Reference"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 12
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Code"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 12
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountNumber"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TaxNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingTheme"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "CreatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingThemeID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "INVOICE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LogoUrl"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SortOrder"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactGroups"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "DELETED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroupID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contacts"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": "#../../../.."
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "IsCustomer"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "DefaultCurrency"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "FirstName"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SkypeUserName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Balances"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "AccountsPayable"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Outstanding"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Overdue"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivable"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Outstanding"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Overdue"
                                            },
                                            "model": {
                                              "type": "Number"
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "EmailAddress"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchasesTrackingCategories"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingOptionName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TrackingCategoryOption"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactPersons"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "IncludeInEmails"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "ContactStatus"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACTIVE",
                                        "ARCHIVED",
                                        "GDPRREQUEST"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LastName"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TrackingCategoryName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasValidationErrors"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "XeroNetworkKey"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "LineAmountTypes"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "Inclusive",
                                  "NoTax",
                                  "Exclusive"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "CISDeduction"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "ExpectedPaymentDate"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Type"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "ACCPAYCREDIT",
                                  "APOVERPAYMENT",
                                  "ACCREC",
                                  "AROVERPAYMENT",
                                  "ARPREPAYMENT",
                                  "APPREPAYMENT",
                                  "ACCPAY",
                                  "ACCRECCREDIT"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "FullyPaidOnDate"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Total"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Overpayments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "PAID",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Account"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ShowInExpenseClaims"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 150
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCodeName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EnablePaymentsToAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OTHERINCOME",
                                                                      "BANK",
                                                                      "CURRLIAB",
                                                                      "SUPERANNUATIONEXPENSE",
                                                                      "REVENUE",
                                                                      "DIRECTCOSTS",
                                                                      "SUPERANNUATIONLIABILITY",
                                                                      "FIXED",
                                                                      "LIABILITY",
                                                                      "OVERHEADS",
                                                                      "CURRENT",
                                                                      "WAGESEXPENSE",
                                                                      "DEPRECIATN",
                                                                      "INVENTORY",
                                                                      "PREPAYMENT",
                                                                      "TERMLIAB",
                                                                      "EXPENSE",
                                                                      "PAYG",
                                                                      "SALES",
                                                                      "NONCURRENT",
                                                                      "EQUITY",
                                                                      "PAYGLIABILITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "BANK",
                                                                      "PAYPAL",
                                                                      "CREDITCARD",
                                                                      "NONE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddToWatchlist"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Class"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "REVENUE",
                                                                      "EXPENSE",
                                                                      "LIABILITY",
                                                                      "ASSET",
                                                                      "EQUITY"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ReportingCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SystemAccount"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "HISTORICAL",
                                                                      "CISLIABILITY",
                                                                      "GST",
                                                                      "REALISEDCURRENCYGAIN",
                                                                      "CISMATERIALS",
                                                                      "CISLABOUR",
                                                                      "CISLABOUREXPENSE",
                                                                      "UNREALISEDCURRENCYGAIN",
                                                                      "GSTONIMPORTS",
                                                                      "CISASSET",
                                                                      "DEBTORS",
                                                                      "TRACKINGTRANSFERS",
                                                                      "CISLABOURINCOME",
                                                                      "RETAINEDEARNINGS",
                                                                      "BANKCURRENCYGAIN",
                                                                      "ROUNDING",
                                                                      "CISASSETS",
                                                                      "CREDITORS",
                                                                      "UNPAIDEXPCLM",
                                                                      "WAGEPAYABLES"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Invoice"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BatchPaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Particulars"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PaymentType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "APOVERPAYMENTPAYMENT",
                                                                "APCREDITPAYMENT",
                                                                "ARCREDITPAYMENT",
                                                                "ACCRECPAYMENT",
                                                                "AROVERPAYMENTPAYMENT",
                                                                "ARPREPAYMENTPAYMENT",
                                                                "ACCPAYPAYMENT",
                                                                "APPREPAYMENTPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAccount"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "InvoiceNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IsReconciled"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Code"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Details"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ARPREPAYMENT",
                                                                      "SPEND-PREPAYMENT",
                                                                      "APPREPAYMENT",
                                                                      "RECEIVE-PREPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PrepaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BankAccountNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Payments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Account"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "ARCHIVED",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ShowInExpenseClaims"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Code"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 150
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ReportingCodeName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EnablePaymentsToAccount"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OTHERINCOME",
                                                        "BANK",
                                                        "CURRLIAB",
                                                        "SUPERANNUATIONEXPENSE",
                                                        "REVENUE",
                                                        "DIRECTCOSTS",
                                                        "SUPERANNUATIONLIABILITY",
                                                        "FIXED",
                                                        "LIABILITY",
                                                        "OVERHEADS",
                                                        "CURRENT",
                                                        "WAGESEXPENSE",
                                                        "DEPRECIATN",
                                                        "INVENTORY",
                                                        "PREPAYMENT",
                                                        "TERMLIAB",
                                                        "EXPENSE",
                                                        "PAYG",
                                                        "SALES",
                                                        "NONCURRENT",
                                                        "EQUITY",
                                                        "PAYGLIABILITY"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "BANK",
                                                        "PAYPAL",
                                                        "CREDITCARD",
                                                        "NONE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddToWatchlist"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Class"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "REVENUE",
                                                        "EXPENSE",
                                                        "LIABILITY",
                                                        "ASSET",
                                                        "EQUITY"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ReportingCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SystemAccount"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "HISTORICAL",
                                                        "CISLIABILITY",
                                                        "GST",
                                                        "REALISEDCURRENCYGAIN",
                                                        "CISMATERIALS",
                                                        "CISLABOUR",
                                                        "CISLABOUREXPENSE",
                                                        "UNREALISEDCURRENCYGAIN",
                                                        "GSTONIMPORTS",
                                                        "CISASSET",
                                                        "DEBTORS",
                                                        "TRACKINGTRANSFERS",
                                                        "CISLABOURINCOME",
                                                        "RETAINEDEARNINGS",
                                                        "BANKCURRENCYGAIN",
                                                        "ROUNDING",
                                                        "CISASSETS",
                                                        "CREDITORS",
                                                        "UNPAIDEXPCLM",
                                                        "WAGEPAYABLES"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Invoice"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UpdatedDateUTC"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "BatchPaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Invoice",
                                                          "required": "true"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "PAID",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ARPREPAYMENT",
                                                                      "SPEND-PREPAYMENT",
                                                                      "APPREPAYMENT",
                                                                      "RECEIVE-PREPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PrepaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "PaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Particulars"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "PaymentType"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "APOVERPAYMENTPAYMENT",
                                                  "APCREDITPAYMENT",
                                                  "ARCREDITPAYMENT",
                                                  "ACCRECPAYMENT",
                                                  "AROVERPAYMENTPAYMENT",
                                                  "ARPREPAYMENTPAYMENT",
                                                  "ACCPAYPAYMENT",
                                                  "APPREPAYMENTPAYMENT"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasAccount"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "InvoiceNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Status"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "AUTHORISED",
                                                  "DELETED"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNoteNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Reference"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IsReconciled"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Code"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Details"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Invoice",
                                                          "required": "true"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNote"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Allocations"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingThemeID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Payments"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SubTotal"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RemainingCredit"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TotalTax"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DueDate"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DRAFT",
                                                                      "PAID",
                                                                      "SUBMITTED",
                                                                      "DELETED",
                                                                      "VOIDED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItems"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "ItemCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Description"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Tracking"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingCategoryID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "TrackingOptionID"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Option"
                                                                              },
                                                                              "model": {
                                                                                "type": "String"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Name"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "length": {
                                                                                    "max": 100
                                                                                  }
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Quantity"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "UnitAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountRate"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "DiscountAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TaxAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AccountCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineAmount"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "RepeatingInvoiceID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LineItemID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CISRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AppliedAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SentToContact"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contact"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Discount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Website"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PaymentTerms"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Sales"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Bills"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "OFCURRENTMONTH",
                                                                                        "OFFOLLOWINGMONTH",
                                                                                        "DAYSAFTERBILLMONTH",
                                                                                        "DAYSAFTERBILLDATE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Day"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Addresses"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine3"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine2"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine1"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttentionTo"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressLine4"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 500
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Region"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PostalCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Country"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "City"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 255
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AddressType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "POBOX",
                                                                                    "STREET"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SalesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsSupplier"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Phones"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneAreaCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 10
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneCountryCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 20
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "OFFICE",
                                                                                    "DDI",
                                                                                    "FAX",
                                                                                    "DEFAULT",
                                                                                    "MOBILE"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "PhoneNumber"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 50
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayableTaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountDetails"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesDefaultAccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BatchPayments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Details"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Reference"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Code"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 12
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingTheme"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "CreatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingThemeID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "INVOICE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LogoUrl"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SortOrder"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroups"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Status"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "enum": {
                                                                                  "type": "[Ljava.lang.String;",
                                                                                  "values": [
                                                                                    "ACTIVE",
                                                                                    "DELETED"
                                                                                  ]
                                                                                }
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContactGroupID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Contacts"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": "#../../../.."
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IsCustomer"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DefaultCurrency"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SkypeUserName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Balances"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivable"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Outstanding"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Overdue"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PurchasesTrackingCategories"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryOption"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactPersons"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeInEmails"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "FirstName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LastName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "EmailAddress"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactStatus"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "GDPRREQUEST"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "XeroNetworkKey"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmountTypes"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "Inclusive",
                                                                      "NoTax",
                                                                      "Exclusive"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CISDeduction"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Type"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACCPAYCREDIT",
                                                                      "ACCRECCREDIT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FullyPaidOnDate"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Total"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Warnings"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Amount",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Prepayment"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Overpayment"
                                                        },
                                                        "model": "#../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date",
                                                          "required": "true"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasValidationErrors"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "BankAccountNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Attachments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "FileName"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ContentLength"
                                          },
                                          "model": {
                                            "type": "Number",
                                            "annotations": {
                                              "int": {}
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IncludeOnline"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AttachmentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Url"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "MimeType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "SPEND-OVERPAYMENT",
                                          "AROVERPAYMENT",
                                          "RECEIVE-OVERPAYMENT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "OverpaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "RepeatingInvoiceID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "IsDiscounted"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "HasErrors"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Warnings"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TotalDiscount"
                          },
                          "model": {
                            "type": "Number"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:RETRY_EXHAUSTED",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "CREATE_INVOICES",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "false",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "summarizeErrors",
                  "displayModel": {
                    "displayName": "Summarize Errors",
                    "summary": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors."
                  },
                  "description": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "unitdp",
                  "displayModel": {
                    "displayName": "unitdp",
                    "summary": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts."
                  },
                  "description": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "json",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.io.InputStream",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.io.Closeable"
                        ],
                        "parent": "",
                        "genericTypes": [],
                        "isMap": false
                      }
                    },
                    "open": {
                      "type": "Any"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "Invoices"
                        },
                        "model": {
                          "type": "Array",
                          "item": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountPaid"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountCredited"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Payments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Account"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Description"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ShowInExpenseClaims"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 150
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ReportingCodeName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EnablePaymentsToAccount"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OTHERINCOME",
                                                      "BANK",
                                                      "CURRLIAB",
                                                      "SUPERANNUATIONEXPENSE",
                                                      "REVENUE",
                                                      "DIRECTCOSTS",
                                                      "SUPERANNUATIONLIABILITY",
                                                      "FIXED",
                                                      "LIABILITY",
                                                      "OVERHEADS",
                                                      "CURRENT",
                                                      "WAGESEXPENSE",
                                                      "DEPRECIATN",
                                                      "INVENTORY",
                                                      "PREPAYMENT",
                                                      "TERMLIAB",
                                                      "EXPENSE",
                                                      "PAYG",
                                                      "SALES",
                                                      "NONCURRENT",
                                                      "EQUITY",
                                                      "PAYGLIABILITY"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "BANK",
                                                      "PAYPAL",
                                                      "CREDITCARD",
                                                      "NONE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddToWatchlist"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Class"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "REVENUE",
                                                      "EXPENSE",
                                                      "LIABILITY",
                                                      "ASSET",
                                                      "EQUITY"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ReportingCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SystemAccount"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "HISTORICAL",
                                                      "CISLIABILITY",
                                                      "GST",
                                                      "REALISEDCURRENCYGAIN",
                                                      "CISMATERIALS",
                                                      "CISLABOUR",
                                                      "CISLABOUREXPENSE",
                                                      "UNREALISEDCURRENCYGAIN",
                                                      "GSTONIMPORTS",
                                                      "CISASSET",
                                                      "DEBTORS",
                                                      "TRACKINGTRANSFERS",
                                                      "CISLABOURINCOME",
                                                      "RETAINEDEARNINGS",
                                                      "BANKCURRENCYGAIN",
                                                      "ROUNDING",
                                                      "CISASSETS",
                                                      "CREDITORS",
                                                      "UNPAIDEXPCLM",
                                                      "WAGEPAYABLES"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Invoice"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNote"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Invoice",
                                                        "required": "true"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNote"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Amount",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Prepayment"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "PAID",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ARPREPAYMENT",
                                                                    "SPEND-PREPAYMENT",
                                                                    "APPREPAYMENT",
                                                                    "RECEIVE-PREPAYMENT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PrepaymentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Overpayment"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "PAID",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Payments"
                                                            },
                                                            "model": "#../../../../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "SPEND-OVERPAYMENT",
                                                                    "AROVERPAYMENT",
                                                                    "RECEIVE-OVERPAYMENT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "OverpaymentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Particulars"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentType"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "APOVERPAYMENTPAYMENT",
                                                "APCREDITPAYMENT",
                                                "ARCREDITPAYMENT",
                                                "ACCRECPAYMENT",
                                                "AROVERPAYMENTPAYMENT",
                                                "ARPREPAYMENTPAYMENT",
                                                "ACCPAYPAYMENT",
                                                "APPREPAYMENTPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAccount"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "InvoiceNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Overpayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Invoice",
                                                        "required": "true"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNote"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Payments"
                                                            },
                                                            "model": "#../../../../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DueDate"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "DRAFT",
                                                                    "PAID",
                                                                    "SUBMITTED",
                                                                    "DELETED",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CreditNoteID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CreditNoteNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CISRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SentToContact"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CISDeduction"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACCPAYCREDIT",
                                                                    "ACCRECCREDIT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FullyPaidOnDate"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Warnings"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Amount",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Prepayment"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "PAID",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ARPREPAYMENT",
                                                                    "SPEND-PREPAYMENT",
                                                                    "APPREPAYMENT",
                                                                    "RECEIVE-PREPAYMENT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PrepaymentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Overpayment"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "SPEND-OVERPAYMENT",
                                                      "AROVERPAYMENT",
                                                      "RECEIVE-OVERPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "OverpaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "DELETED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Amount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsReconciled"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Code"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Details"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Prepayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Invoice",
                                                        "required": "true"
                                                      },
                                                      "model": "#../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNote"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Payments"
                                                            },
                                                            "model": "#../../../../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DueDate"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "DRAFT",
                                                                    "PAID",
                                                                    "SUBMITTED",
                                                                    "DELETED",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CreditNoteID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CreditNoteNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CISRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SentToContact"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CISDeduction"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACCPAYCREDIT",
                                                                    "ACCRECCREDIT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FullyPaidOnDate"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Warnings"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Amount",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Prepayment"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Overpayment"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "AUTHORISED",
                                                                    "PAID",
                                                                    "VOIDED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineItems"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "ItemCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Tracking"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingCategoryID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TrackingOptionID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Option"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Name"
                                                                            },
                                                                            "model": {
                                                                              "type": "String",
                                                                              "annotations": {
                                                                                "length": {
                                                                                  "max": 100
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Quantity"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UnitAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DiscountAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RepeatingInvoiceID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItemID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Allocations"
                                                            },
                                                            "model": "#../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyRate"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AppliedAmount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Payments"
                                                            },
                                                            "model": "#../../../../../.."
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SubTotal"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Date"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contact"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Discount"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "UpdatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Message"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Website"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PaymentTerms"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Sales"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Bills"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Type"
                                                                              },
                                                                              "model": {
                                                                                "type": "String",
                                                                                "annotations": {
                                                                                  "enum": {
                                                                                    "type": "[Ljava.lang.String;",
                                                                                    "values": [
                                                                                      "OFCURRENTMONTH",
                                                                                      "OFFOLLOWINGMONTH",
                                                                                      "DAYSAFTERBILLMONTH",
                                                                                      "DAYSAFTERBILLDATE"
                                                                                    ]
                                                                                  }
                                                                                }
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Day"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number",
                                                                                "annotations": {
                                                                                  "int": {}
                                                                                }
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Attachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "FileName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContentLength"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeOnline"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttachmentID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Url"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "MimeType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Addresses"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine3"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine2"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine1"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AttentionTo"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressLine4"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 500
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Region"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PostalCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Country"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "City"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AddressType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "POBOX",
                                                                                  "STREET"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SalesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsSupplier"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Phones"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneAreaCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 10
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneCountryCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 20
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFFICE",
                                                                                  "DDI",
                                                                                  "FAX",
                                                                                  "DEFAULT",
                                                                                  "MOBILE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PhoneNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayableTaxType"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountDetails"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesDefaultAccountCode"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BatchPayments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountName"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Details"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Reference"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Code"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 12
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BankAccountNumber"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TaxNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingTheme"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "CreatedDateUTC"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "BrandingThemeID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "INVOICE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "LogoUrl"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "SortOrder"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactGroups"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Status"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "DELETED"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroupID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Contacts"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": "#../../../.."
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "IsCustomer"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "StatusAttributeString"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "DefaultCurrency"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "",
                                                                          "FJD",
                                                                          "MXN",
                                                                          "SCR",
                                                                          "TVD",
                                                                          "CDF",
                                                                          "BBD",
                                                                          "GTQ",
                                                                          "CLP",
                                                                          "HNL",
                                                                          "UGX",
                                                                          "ZAR",
                                                                          "TND",
                                                                          "STN",
                                                                          "CUC",
                                                                          "BSD",
                                                                          "SLL",
                                                                          "SDG",
                                                                          "IQD",
                                                                          "CUP",
                                                                          "GMD",
                                                                          "TWD",
                                                                          "RSD",
                                                                          "DOP",
                                                                          "KMF",
                                                                          "MYR",
                                                                          "FKP",
                                                                          "XOF",
                                                                          "GEL",
                                                                          "UYU",
                                                                          "MAD",
                                                                          "CVE",
                                                                          "TOP",
                                                                          "AZN",
                                                                          "OMR",
                                                                          "PGK",
                                                                          "KES",
                                                                          "SEK",
                                                                          "BTN",
                                                                          "UAH",
                                                                          "GNF",
                                                                          "ERN",
                                                                          "MZN",
                                                                          "SVC",
                                                                          "ARS",
                                                                          "QAR",
                                                                          "IRR",
                                                                          "CNY",
                                                                          "THB",
                                                                          "UZS",
                                                                          "XPF",
                                                                          "MRU",
                                                                          "BDT",
                                                                          "LYD",
                                                                          "BMD",
                                                                          "KWD",
                                                                          "PHP",
                                                                          "RUB",
                                                                          "PYG",
                                                                          "ISK",
                                                                          "JMD",
                                                                          "COP",
                                                                          "MKD",
                                                                          "USD",
                                                                          "DZD",
                                                                          "PAB",
                                                                          "GGP",
                                                                          "SGD",
                                                                          "ETB",
                                                                          "JEP",
                                                                          "KGS",
                                                                          "SOS",
                                                                          "VEF",
                                                                          "VUV",
                                                                          "LAK",
                                                                          "BND",
                                                                          "ZMK",
                                                                          "XAF",
                                                                          "LRD",
                                                                          "CHF",
                                                                          "HRK",
                                                                          "ALL",
                                                                          "DJF",
                                                                          "ZMW",
                                                                          "TZS",
                                                                          "VND",
                                                                          "SPL",
                                                                          "AUD",
                                                                          "ILS",
                                                                          "GHS",
                                                                          "GYD",
                                                                          "KPW",
                                                                          "BOB",
                                                                          "KHR",
                                                                          "MDL",
                                                                          "IDR",
                                                                          "KYD",
                                                                          "AMD",
                                                                          "BWP",
                                                                          "SHP",
                                                                          "TRY",
                                                                          "LBP",
                                                                          "TJS",
                                                                          "JOD",
                                                                          "AED",
                                                                          "HKD",
                                                                          "RWF",
                                                                          "EUR",
                                                                          "LSL",
                                                                          "DKK",
                                                                          "ZWD",
                                                                          "CAD",
                                                                          "BGN",
                                                                          "MMK",
                                                                          "MUR",
                                                                          "NOK",
                                                                          "SYP",
                                                                          "IMP",
                                                                          "GIP",
                                                                          "RON",
                                                                          "LKR",
                                                                          "NGN",
                                                                          "CRC",
                                                                          "CZK",
                                                                          "PKR",
                                                                          "XCD",
                                                                          "ANG",
                                                                          "HTG",
                                                                          "BHD",
                                                                          "KZT",
                                                                          "SRD",
                                                                          "SZL",
                                                                          "LTL",
                                                                          "SAR",
                                                                          "TTD",
                                                                          "YER",
                                                                          "MVR",
                                                                          "AFN",
                                                                          "INR",
                                                                          "AWG",
                                                                          "KRW",
                                                                          "NPR",
                                                                          "JPY",
                                                                          "MNT",
                                                                          "AOA",
                                                                          "PLN",
                                                                          "GBP",
                                                                          "SBD",
                                                                          "BYN",
                                                                          "HUF",
                                                                          "BYR",
                                                                          "BIF",
                                                                          "MWK",
                                                                          "MGA",
                                                                          "XDR",
                                                                          "BZD",
                                                                          "BAM",
                                                                          "EGP",
                                                                          "MOP",
                                                                          "NAD",
                                                                          "NIO",
                                                                          "PEN",
                                                                          "NZD",
                                                                          "WST",
                                                                          "TMT",
                                                                          "BRL"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "FirstName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SkypeUserName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasAttachments"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Balances"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsPayable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "AccountsReceivable"
                                                                        },
                                                                        "model": {
                                                                          "type": "Object",
                                                                          "open": {
                                                                            "type": "Any"
                                                                          },
                                                                          "fields": [
                                                                            {
                                                                              "key": {
                                                                                "name": "Outstanding"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            },
                                                                            {
                                                                              "key": {
                                                                                "name": "Overdue"
                                                                              },
                                                                              "model": {
                                                                                "type": "Number"
                                                                              }
                                                                            }
                                                                          ]
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "EmailAddress"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 50
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "PurchasesTrackingCategories"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingOptionName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryOption"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactPersons"
                                                                  },
                                                                  "model": {
                                                                    "type": "Array",
                                                                    "item": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "IncludeInEmails"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "ContactStatus"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "ACTIVE",
                                                                          "ARCHIVED",
                                                                          "GDPRREQUEST"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LastName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 255
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "TrackingCategoryName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "HasValidationErrors"
                                                                  },
                                                                  "model": {
                                                                    "type": "Boolean"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "XeroNetworkKey"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LineAmountTypes"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "Inclusive",
                                                                    "NoTax",
                                                                    "Exclusive"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "CurrencyCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "SPEND-OVERPAYMENT",
                                                                    "AROVERPAYMENT",
                                                                    "RECEIVE-OVERPAYMENT"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "RemainingCredit"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TotalTax"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Total"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "OverpaymentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date",
                                                        "required": "true"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ARPREPAYMENT",
                                                      "SPEND-PREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "RECEIVE-PREPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PrepaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CreditNotes"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Account"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ShowInExpenseClaims"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 150
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCodeName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EnablePaymentsToAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OTHERINCOME",
                                                                            "BANK",
                                                                            "CURRLIAB",
                                                                            "SUPERANNUATIONEXPENSE",
                                                                            "REVENUE",
                                                                            "DIRECTCOSTS",
                                                                            "SUPERANNUATIONLIABILITY",
                                                                            "FIXED",
                                                                            "LIABILITY",
                                                                            "OVERHEADS",
                                                                            "CURRENT",
                                                                            "WAGESEXPENSE",
                                                                            "DEPRECIATN",
                                                                            "INVENTORY",
                                                                            "PREPAYMENT",
                                                                            "TERMLIAB",
                                                                            "EXPENSE",
                                                                            "PAYG",
                                                                            "SALES",
                                                                            "NONCURRENT",
                                                                            "EQUITY",
                                                                            "PAYGLIABILITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "BANK",
                                                                            "PAYPAL",
                                                                            "CREDITCARD",
                                                                            "NONE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddToWatchlist"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Class"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "REVENUE",
                                                                            "EXPENSE",
                                                                            "LIABILITY",
                                                                            "ASSET",
                                                                            "EQUITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SystemAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "HISTORICAL",
                                                                            "CISLIABILITY",
                                                                            "GST",
                                                                            "REALISEDCURRENCYGAIN",
                                                                            "CISMATERIALS",
                                                                            "CISLABOUR",
                                                                            "CISLABOUREXPENSE",
                                                                            "UNREALISEDCURRENCYGAIN",
                                                                            "GSTONIMPORTS",
                                                                            "CISASSET",
                                                                            "DEBTORS",
                                                                            "TRACKINGTRANSFERS",
                                                                            "CISLABOURINCOME",
                                                                            "RETAINEDEARNINGS",
                                                                            "BANKCURRENCYGAIN",
                                                                            "ROUNDING",
                                                                            "CISASSETS",
                                                                            "CREDITORS",
                                                                            "UNPAIDEXPCLM",
                                                                            "WAGEPAYABLES"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Invoice"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Particulars"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "APOVERPAYMENTPAYMENT",
                                                                      "APCREDITPAYMENT",
                                                                      "ARCREDITPAYMENT",
                                                                      "ACCRECPAYMENT",
                                                                      "AROVERPAYMENTPAYMENT",
                                                                      "ARPREPAYMENTPAYMENT",
                                                                      "ACCPAYPAYMENT",
                                                                      "APPREPAYMENTPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "InvoiceNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsReconciled"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Details"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ARPREPAYMENT",
                                                                            "SPEND-PREPAYMENT",
                                                                            "APPREPAYMENT",
                                                                            "RECEIVE-PREPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PrepaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingThemeID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Account"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ShowInExpenseClaims"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Code"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 150
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ReportingCodeName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EnablePaymentsToAccount"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OTHERINCOME",
                                                              "BANK",
                                                              "CURRLIAB",
                                                              "SUPERANNUATIONEXPENSE",
                                                              "REVENUE",
                                                              "DIRECTCOSTS",
                                                              "SUPERANNUATIONLIABILITY",
                                                              "FIXED",
                                                              "LIABILITY",
                                                              "OVERHEADS",
                                                              "CURRENT",
                                                              "WAGESEXPENSE",
                                                              "DEPRECIATN",
                                                              "INVENTORY",
                                                              "PREPAYMENT",
                                                              "TERMLIAB",
                                                              "EXPENSE",
                                                              "PAYG",
                                                              "SALES",
                                                              "NONCURRENT",
                                                              "EQUITY",
                                                              "PAYGLIABILITY"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "BANK",
                                                              "PAYPAL",
                                                              "CREDITCARD",
                                                              "NONE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddToWatchlist"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Class"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "REVENUE",
                                                              "EXPENSE",
                                                              "LIABILITY",
                                                              "ASSET",
                                                              "EQUITY"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ReportingCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SystemAccount"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "HISTORICAL",
                                                              "CISLIABILITY",
                                                              "GST",
                                                              "REALISEDCURRENCYGAIN",
                                                              "CISMATERIALS",
                                                              "CISLABOUR",
                                                              "CISLABOUREXPENSE",
                                                              "UNREALISEDCURRENCYGAIN",
                                                              "GSTONIMPORTS",
                                                              "CISASSET",
                                                              "DEBTORS",
                                                              "TRACKINGTRANSFERS",
                                                              "CISLABOURINCOME",
                                                              "RETAINEDEARNINGS",
                                                              "BANKCURRENCYGAIN",
                                                              "ROUNDING",
                                                              "CISASSETS",
                                                              "CREDITORS",
                                                              "UNPAIDEXPCLM",
                                                              "WAGEPAYABLES"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Invoice"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BatchPaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Particulars"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "APOVERPAYMENTPAYMENT",
                                                        "APCREDITPAYMENT",
                                                        "ARCREDITPAYMENT",
                                                        "ACCRECPAYMENT",
                                                        "AROVERPAYMENTPAYMENT",
                                                        "ARPREPAYMENTPAYMENT",
                                                        "ACCPAYPAYMENT",
                                                        "APPREPAYMENTPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAccount"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Invoice",
                                                                "required": "true"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ARPREPAYMENT",
                                                                            "SPEND-PREPAYMENT",
                                                                            "APPREPAYMENT",
                                                                            "RECEIVE-PREPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PrepaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsReconciled"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Code"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Details"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Invoice",
                                                                "required": "true"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Payments"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "SPEND-OVERPAYMENT",
                                                                            "AROVERPAYMENT",
                                                                            "RECEIVE-OVERPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "OverpaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DueDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "DRAFT",
                                                "PAID",
                                                "SUBMITTED",
                                                "DELETED",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SentToContact"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISDeduction"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACCPAYCREDIT",
                                                "ACCRECCREDIT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FullyPaidOnDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Warnings"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SubTotal"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Url"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PlannedPaymentDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalTax"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "InvoiceNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "DueDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "AUTHORISED",
                                        "DRAFT",
                                        "PAID",
                                        "SUBMITTED",
                                        "DELETED",
                                        "VOIDED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LineItems"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "ItemCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Tracking"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Option"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 100
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Quantity"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UnitAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RepeatingInvoiceID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItemID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountDue"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CISRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Prepayments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Account"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ShowInExpenseClaims"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 150
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCodeName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EnablePaymentsToAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OTHERINCOME",
                                                                            "BANK",
                                                                            "CURRLIAB",
                                                                            "SUPERANNUATIONEXPENSE",
                                                                            "REVENUE",
                                                                            "DIRECTCOSTS",
                                                                            "SUPERANNUATIONLIABILITY",
                                                                            "FIXED",
                                                                            "LIABILITY",
                                                                            "OVERHEADS",
                                                                            "CURRENT",
                                                                            "WAGESEXPENSE",
                                                                            "DEPRECIATN",
                                                                            "INVENTORY",
                                                                            "PREPAYMENT",
                                                                            "TERMLIAB",
                                                                            "EXPENSE",
                                                                            "PAYG",
                                                                            "SALES",
                                                                            "NONCURRENT",
                                                                            "EQUITY",
                                                                            "PAYGLIABILITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "BANK",
                                                                            "PAYPAL",
                                                                            "CREDITCARD",
                                                                            "NONE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddToWatchlist"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Class"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "REVENUE",
                                                                            "EXPENSE",
                                                                            "LIABILITY",
                                                                            "ASSET",
                                                                            "EQUITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SystemAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "HISTORICAL",
                                                                            "CISLIABILITY",
                                                                            "GST",
                                                                            "REALISEDCURRENCYGAIN",
                                                                            "CISMATERIALS",
                                                                            "CISLABOUR",
                                                                            "CISLABOUREXPENSE",
                                                                            "UNREALISEDCURRENCYGAIN",
                                                                            "GSTONIMPORTS",
                                                                            "CISASSET",
                                                                            "DEBTORS",
                                                                            "TRACKINGTRANSFERS",
                                                                            "CISLABOURINCOME",
                                                                            "RETAINEDEARNINGS",
                                                                            "BANKCURRENCYGAIN",
                                                                            "ROUNDING",
                                                                            "CISASSETS",
                                                                            "CREDITORS",
                                                                            "UNPAIDEXPCLM",
                                                                            "WAGEPAYABLES"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Invoice"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Particulars"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "APOVERPAYMENTPAYMENT",
                                                                      "APCREDITPAYMENT",
                                                                      "ARCREDITPAYMENT",
                                                                      "ACCRECPAYMENT",
                                                                      "AROVERPAYMENTPAYMENT",
                                                                      "ARPREPAYMENTPAYMENT",
                                                                      "ACCPAYPAYMENT",
                                                                      "APPREPAYMENTPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "InvoiceNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Payments"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "SPEND-OVERPAYMENT",
                                                                            "AROVERPAYMENT",
                                                                            "RECEIVE-OVERPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "OverpaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsReconciled"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Details"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Account"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ShowInExpenseClaims"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 150
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCodeName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EnablePaymentsToAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OTHERINCOME",
                                                                            "BANK",
                                                                            "CURRLIAB",
                                                                            "SUPERANNUATIONEXPENSE",
                                                                            "REVENUE",
                                                                            "DIRECTCOSTS",
                                                                            "SUPERANNUATIONLIABILITY",
                                                                            "FIXED",
                                                                            "LIABILITY",
                                                                            "OVERHEADS",
                                                                            "CURRENT",
                                                                            "WAGESEXPENSE",
                                                                            "DEPRECIATN",
                                                                            "INVENTORY",
                                                                            "PREPAYMENT",
                                                                            "TERMLIAB",
                                                                            "EXPENSE",
                                                                            "PAYG",
                                                                            "SALES",
                                                                            "NONCURRENT",
                                                                            "EQUITY",
                                                                            "PAYGLIABILITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "BANK",
                                                                            "PAYPAL",
                                                                            "CREDITCARD",
                                                                            "NONE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddToWatchlist"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Class"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "REVENUE",
                                                                            "EXPENSE",
                                                                            "LIABILITY",
                                                                            "ASSET",
                                                                            "EQUITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SystemAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "HISTORICAL",
                                                                            "CISLIABILITY",
                                                                            "GST",
                                                                            "REALISEDCURRENCYGAIN",
                                                                            "CISMATERIALS",
                                                                            "CISLABOUR",
                                                                            "CISLABOUREXPENSE",
                                                                            "UNREALISEDCURRENCYGAIN",
                                                                            "GSTONIMPORTS",
                                                                            "CISASSET",
                                                                            "DEBTORS",
                                                                            "TRACKINGTRANSFERS",
                                                                            "CISLABOURINCOME",
                                                                            "RETAINEDEARNINGS",
                                                                            "BANKCURRENCYGAIN",
                                                                            "ROUNDING",
                                                                            "CISASSETS",
                                                                            "CREDITORS",
                                                                            "UNPAIDEXPCLM",
                                                                            "WAGEPAYABLES"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Invoice"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Payments"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DueDate"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "DRAFT",
                                                                            "PAID",
                                                                            "SUBMITTED",
                                                                            "DELETED",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CreditNoteID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CreditNoteNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CISRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SentToContact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CISDeduction"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACCPAYCREDIT",
                                                                            "ACCRECCREDIT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FullyPaidOnDate"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Warnings"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Particulars"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "APOVERPAYMENTPAYMENT",
                                                                      "APCREDITPAYMENT",
                                                                      "ARCREDITPAYMENT",
                                                                      "ACCRECPAYMENT",
                                                                      "AROVERPAYMENTPAYMENT",
                                                                      "ARPREPAYMENTPAYMENT",
                                                                      "ACCPAYPAYMENT",
                                                                      "APPREPAYMENTPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "InvoiceNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsReconciled"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Details"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ARPREPAYMENT",
                                                "SPEND-PREPAYMENT",
                                                "APPREPAYMENT",
                                                "RECEIVE-PREPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PrepaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SentToContact"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "InvoiceID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Date"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Contact"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Discount"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UpdatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ValidationErrors"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Message"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Website"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PaymentTerms"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Sales"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Bills"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Attachments"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "FileName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContentLength"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IncludeOnline"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttachmentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "MimeType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Addresses"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AddressLine3"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine2"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine1"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttentionTo"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine4"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Region"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PostalCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Country"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "City"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "POBOX",
                                                      "STREET"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsSupplier"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Phones"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "PhoneAreaCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 10
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneCountryCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 20
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OFFICE",
                                                      "DDI",
                                                      "FAX",
                                                      "DEFAULT",
                                                      "MOBILE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsPayableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountDetails"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BatchPayments"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "BankAccountName"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Details"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Reference"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Code"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BankAccountNumber"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TaxNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingTheme"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "CreatedDateUTC"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BrandingThemeID"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "INVOICE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "LogoUrl"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "SortOrder"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Name"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactGroups"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroupID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contacts"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsCustomer"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "StatusAttributeString"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "DefaultCurrency"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "",
                                              "FJD",
                                              "MXN",
                                              "SCR",
                                              "TVD",
                                              "CDF",
                                              "BBD",
                                              "GTQ",
                                              "CLP",
                                              "HNL",
                                              "UGX",
                                              "ZAR",
                                              "TND",
                                              "STN",
                                              "CUC",
                                              "BSD",
                                              "SLL",
                                              "SDG",
                                              "IQD",
                                              "CUP",
                                              "GMD",
                                              "TWD",
                                              "RSD",
                                              "DOP",
                                              "KMF",
                                              "MYR",
                                              "FKP",
                                              "XOF",
                                              "GEL",
                                              "UYU",
                                              "MAD",
                                              "CVE",
                                              "TOP",
                                              "AZN",
                                              "OMR",
                                              "PGK",
                                              "KES",
                                              "SEK",
                                              "BTN",
                                              "UAH",
                                              "GNF",
                                              "ERN",
                                              "MZN",
                                              "SVC",
                                              "ARS",
                                              "QAR",
                                              "IRR",
                                              "CNY",
                                              "THB",
                                              "UZS",
                                              "XPF",
                                              "MRU",
                                              "BDT",
                                              "LYD",
                                              "BMD",
                                              "KWD",
                                              "PHP",
                                              "RUB",
                                              "PYG",
                                              "ISK",
                                              "JMD",
                                              "COP",
                                              "MKD",
                                              "USD",
                                              "DZD",
                                              "PAB",
                                              "GGP",
                                              "SGD",
                                              "ETB",
                                              "JEP",
                                              "KGS",
                                              "SOS",
                                              "VEF",
                                              "VUV",
                                              "LAK",
                                              "BND",
                                              "ZMK",
                                              "XAF",
                                              "LRD",
                                              "CHF",
                                              "HRK",
                                              "ALL",
                                              "DJF",
                                              "ZMW",
                                              "TZS",
                                              "VND",
                                              "SPL",
                                              "AUD",
                                              "ILS",
                                              "GHS",
                                              "GYD",
                                              "KPW",
                                              "BOB",
                                              "KHR",
                                              "MDL",
                                              "IDR",
                                              "KYD",
                                              "AMD",
                                              "BWP",
                                              "SHP",
                                              "TRY",
                                              "LBP",
                                              "TJS",
                                              "JOD",
                                              "AED",
                                              "HKD",
                                              "RWF",
                                              "EUR",
                                              "LSL",
                                              "DKK",
                                              "ZWD",
                                              "CAD",
                                              "BGN",
                                              "MMK",
                                              "MUR",
                                              "NOK",
                                              "SYP",
                                              "IMP",
                                              "GIP",
                                              "RON",
                                              "LKR",
                                              "NGN",
                                              "CRC",
                                              "CZK",
                                              "PKR",
                                              "XCD",
                                              "ANG",
                                              "HTG",
                                              "BHD",
                                              "KZT",
                                              "SRD",
                                              "SZL",
                                              "LTL",
                                              "SAR",
                                              "TTD",
                                              "YER",
                                              "MVR",
                                              "AFN",
                                              "INR",
                                              "AWG",
                                              "KRW",
                                              "NPR",
                                              "JPY",
                                              "MNT",
                                              "AOA",
                                              "PLN",
                                              "GBP",
                                              "SBD",
                                              "BYN",
                                              "HUF",
                                              "BYR",
                                              "BIF",
                                              "MWK",
                                              "MGA",
                                              "XDR",
                                              "BZD",
                                              "BAM",
                                              "EGP",
                                              "MOP",
                                              "NAD",
                                              "NIO",
                                              "PEN",
                                              "NZD",
                                              "WST",
                                              "TMT",
                                              "BRL"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "FirstName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SkypeUserName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasAttachments"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Balances"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "AccountsPayable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "AccountsReceivable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "EmailAddress"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryOption"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactPersons"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "IncludeInEmails"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactStatus"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "ACTIVE",
                                              "ARCHIVED",
                                              "GDPRREQUEST"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LastName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasValidationErrors"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "XeroNetworkKey"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "LineAmountTypes"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "Inclusive",
                                        "NoTax",
                                        "Exclusive"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CISDeduction"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "ExpectedPaymentDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACCPAYCREDIT",
                                        "APOVERPAYMENT",
                                        "ACCREC",
                                        "AROVERPAYMENT",
                                        "ARPREPAYMENT",
                                        "APPREPAYMENT",
                                        "ACCPAY",
                                        "ACCRECCREDIT"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "FullyPaidOnDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Total"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Overpayments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Account"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "ARCHIVED",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Description"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ShowInExpenseClaims"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 150
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCodeName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TaxType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EnablePaymentsToAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OTHERINCOME",
                                                                            "BANK",
                                                                            "CURRLIAB",
                                                                            "SUPERANNUATIONEXPENSE",
                                                                            "REVENUE",
                                                                            "DIRECTCOSTS",
                                                                            "SUPERANNUATIONLIABILITY",
                                                                            "FIXED",
                                                                            "LIABILITY",
                                                                            "OVERHEADS",
                                                                            "CURRENT",
                                                                            "WAGESEXPENSE",
                                                                            "DEPRECIATN",
                                                                            "INVENTORY",
                                                                            "PREPAYMENT",
                                                                            "TERMLIAB",
                                                                            "EXPENSE",
                                                                            "PAYG",
                                                                            "SALES",
                                                                            "NONCURRENT",
                                                                            "EQUITY",
                                                                            "PAYGLIABILITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "BANK",
                                                                            "PAYPAL",
                                                                            "CREDITCARD",
                                                                            "NONE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddToWatchlist"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Class"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "REVENUE",
                                                                            "EXPENSE",
                                                                            "LIABILITY",
                                                                            "ASSET",
                                                                            "EQUITY"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ReportingCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SystemAccount"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "HISTORICAL",
                                                                            "CISLIABILITY",
                                                                            "GST",
                                                                            "REALISEDCURRENCYGAIN",
                                                                            "CISMATERIALS",
                                                                            "CISLABOUR",
                                                                            "CISLABOUREXPENSE",
                                                                            "UNREALISEDCURRENCYGAIN",
                                                                            "GSTONIMPORTS",
                                                                            "CISASSET",
                                                                            "DEBTORS",
                                                                            "TRACKINGTRANSFERS",
                                                                            "CISLABOURINCOME",
                                                                            "RETAINEDEARNINGS",
                                                                            "BANKCURRENCYGAIN",
                                                                            "ROUNDING",
                                                                            "CISASSETS",
                                                                            "CREDITORS",
                                                                            "UNPAIDEXPCLM",
                                                                            "WAGEPAYABLES"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Invoice"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CurrencyRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Particulars"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "APOVERPAYMENTPAYMENT",
                                                                      "APCREDITPAYMENT",
                                                                      "ARCREDITPAYMENT",
                                                                      "ACCRECPAYMENT",
                                                                      "AROVERPAYMENTPAYMENT",
                                                                      "ARPREPAYMENTPAYMENT",
                                                                      "ACCPAYPAYMENT",
                                                                      "APPREPAYMENTPAYMENT"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAccount"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "InvoiceNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "AUTHORISED",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNoteNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Reference"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsReconciled"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Code"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Details"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ARPREPAYMENT",
                                                                            "SPEND-PREPAYMENT",
                                                                            "APPREPAYMENT",
                                                                            "RECEIVE-PREPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PrepaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Account"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ShowInExpenseClaims"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Code"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 150
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ReportingCodeName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EnablePaymentsToAccount"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OTHERINCOME",
                                                              "BANK",
                                                              "CURRLIAB",
                                                              "SUPERANNUATIONEXPENSE",
                                                              "REVENUE",
                                                              "DIRECTCOSTS",
                                                              "SUPERANNUATIONLIABILITY",
                                                              "FIXED",
                                                              "LIABILITY",
                                                              "OVERHEADS",
                                                              "CURRENT",
                                                              "WAGESEXPENSE",
                                                              "DEPRECIATN",
                                                              "INVENTORY",
                                                              "PREPAYMENT",
                                                              "TERMLIAB",
                                                              "EXPENSE",
                                                              "PAYG",
                                                              "SALES",
                                                              "NONCURRENT",
                                                              "EQUITY",
                                                              "PAYGLIABILITY"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "BANK",
                                                              "PAYPAL",
                                                              "CREDITCARD",
                                                              "NONE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddToWatchlist"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Class"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "REVENUE",
                                                              "EXPENSE",
                                                              "LIABILITY",
                                                              "ASSET",
                                                              "EQUITY"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ReportingCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SystemAccount"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "HISTORICAL",
                                                              "CISLIABILITY",
                                                              "GST",
                                                              "REALISEDCURRENCYGAIN",
                                                              "CISMATERIALS",
                                                              "CISLABOUR",
                                                              "CISLABOUREXPENSE",
                                                              "UNREALISEDCURRENCYGAIN",
                                                              "GSTONIMPORTS",
                                                              "CISASSET",
                                                              "DEBTORS",
                                                              "TRACKINGTRANSFERS",
                                                              "CISLABOURINCOME",
                                                              "RETAINEDEARNINGS",
                                                              "BANKCURRENCYGAIN",
                                                              "ROUNDING",
                                                              "CISASSETS",
                                                              "CREDITORS",
                                                              "UNPAIDEXPCLM",
                                                              "WAGEPAYABLES"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Invoice"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BatchPaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Invoice",
                                                                "required": "true"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "PAID",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Attachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "FileName"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "ContentLength"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number",
                                                                              "annotations": {
                                                                                "int": {}
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "IncludeOnline"
                                                                            },
                                                                            "model": {
                                                                              "type": "Boolean"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AttachmentID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Url"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "MimeType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ARPREPAYMENT",
                                                                            "SPEND-PREPAYMENT",
                                                                            "APPREPAYMENT",
                                                                            "RECEIVE-PREPAYMENT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PrepaymentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Particulars"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "APOVERPAYMENTPAYMENT",
                                                        "APCREDITPAYMENT",
                                                        "ARCREDITPAYMENT",
                                                        "ACCRECPAYMENT",
                                                        "AROVERPAYMENTPAYMENT",
                                                        "ARPREPAYMENTPAYMENT",
                                                        "ACCPAYPAYMENT",
                                                        "APPREPAYMENTPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAccount"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsReconciled"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Code"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Details"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Invoice",
                                                                "required": "true"
                                                              },
                                                              "model": "#../../../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "CreditNote"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Allocations"
                                                                    },
                                                                    "model": "#../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "UpdatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ValidationErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Payments"
                                                                    },
                                                                    "model": "#../../../../../.."
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SubTotal"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CurrencyCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "",
                                                                            "FJD",
                                                                            "MXN",
                                                                            "SCR",
                                                                            "TVD",
                                                                            "CDF",
                                                                            "BBD",
                                                                            "GTQ",
                                                                            "CLP",
                                                                            "HNL",
                                                                            "UGX",
                                                                            "ZAR",
                                                                            "TND",
                                                                            "STN",
                                                                            "CUC",
                                                                            "BSD",
                                                                            "SLL",
                                                                            "SDG",
                                                                            "IQD",
                                                                            "CUP",
                                                                            "GMD",
                                                                            "TWD",
                                                                            "RSD",
                                                                            "DOP",
                                                                            "KMF",
                                                                            "MYR",
                                                                            "FKP",
                                                                            "XOF",
                                                                            "GEL",
                                                                            "UYU",
                                                                            "MAD",
                                                                            "CVE",
                                                                            "TOP",
                                                                            "AZN",
                                                                            "OMR",
                                                                            "PGK",
                                                                            "KES",
                                                                            "SEK",
                                                                            "BTN",
                                                                            "UAH",
                                                                            "GNF",
                                                                            "ERN",
                                                                            "MZN",
                                                                            "SVC",
                                                                            "ARS",
                                                                            "QAR",
                                                                            "IRR",
                                                                            "CNY",
                                                                            "THB",
                                                                            "UZS",
                                                                            "XPF",
                                                                            "MRU",
                                                                            "BDT",
                                                                            "LYD",
                                                                            "BMD",
                                                                            "KWD",
                                                                            "PHP",
                                                                            "RUB",
                                                                            "PYG",
                                                                            "ISK",
                                                                            "JMD",
                                                                            "COP",
                                                                            "MKD",
                                                                            "USD",
                                                                            "DZD",
                                                                            "PAB",
                                                                            "GGP",
                                                                            "SGD",
                                                                            "ETB",
                                                                            "JEP",
                                                                            "KGS",
                                                                            "SOS",
                                                                            "VEF",
                                                                            "VUV",
                                                                            "LAK",
                                                                            "BND",
                                                                            "ZMK",
                                                                            "XAF",
                                                                            "LRD",
                                                                            "CHF",
                                                                            "HRK",
                                                                            "ALL",
                                                                            "DJF",
                                                                            "ZMW",
                                                                            "TZS",
                                                                            "VND",
                                                                            "SPL",
                                                                            "AUD",
                                                                            "ILS",
                                                                            "GHS",
                                                                            "GYD",
                                                                            "KPW",
                                                                            "BOB",
                                                                            "KHR",
                                                                            "MDL",
                                                                            "IDR",
                                                                            "KYD",
                                                                            "AMD",
                                                                            "BWP",
                                                                            "SHP",
                                                                            "TRY",
                                                                            "LBP",
                                                                            "TJS",
                                                                            "JOD",
                                                                            "AED",
                                                                            "HKD",
                                                                            "RWF",
                                                                            "EUR",
                                                                            "LSL",
                                                                            "DKK",
                                                                            "ZWD",
                                                                            "CAD",
                                                                            "BGN",
                                                                            "MMK",
                                                                            "MUR",
                                                                            "NOK",
                                                                            "SYP",
                                                                            "IMP",
                                                                            "GIP",
                                                                            "RON",
                                                                            "LKR",
                                                                            "NGN",
                                                                            "CRC",
                                                                            "CZK",
                                                                            "PKR",
                                                                            "XCD",
                                                                            "ANG",
                                                                            "HTG",
                                                                            "BHD",
                                                                            "KZT",
                                                                            "SRD",
                                                                            "SZL",
                                                                            "LTL",
                                                                            "SAR",
                                                                            "TTD",
                                                                            "YER",
                                                                            "MVR",
                                                                            "AFN",
                                                                            "INR",
                                                                            "AWG",
                                                                            "KRW",
                                                                            "NPR",
                                                                            "JPY",
                                                                            "MNT",
                                                                            "AOA",
                                                                            "PLN",
                                                                            "GBP",
                                                                            "SBD",
                                                                            "BYN",
                                                                            "HUF",
                                                                            "BYR",
                                                                            "BIF",
                                                                            "MWK",
                                                                            "MGA",
                                                                            "XDR",
                                                                            "BZD",
                                                                            "BAM",
                                                                            "EGP",
                                                                            "MOP",
                                                                            "NAD",
                                                                            "NIO",
                                                                            "PEN",
                                                                            "NZD",
                                                                            "WST",
                                                                            "TMT",
                                                                            "BRL"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "RemainingCredit"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TotalTax"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "DueDate"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "AUTHORISED",
                                                                            "DRAFT",
                                                                            "PAID",
                                                                            "SUBMITTED",
                                                                            "DELETED",
                                                                            "VOIDED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineItems"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "ItemCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Description"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Tracking"
                                                                            },
                                                                            "model": {
                                                                              "type": "Array",
                                                                              "item": {
                                                                                "type": "Object",
                                                                                "open": {
                                                                                  "type": "Any"
                                                                                },
                                                                                "fields": [
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingCategoryID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "TrackingOptionID"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Option"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String"
                                                                                    }
                                                                                  },
                                                                                  {
                                                                                    "key": {
                                                                                      "name": "Name"
                                                                                    },
                                                                                    "model": {
                                                                                      "type": "String",
                                                                                      "annotations": {
                                                                                        "length": {
                                                                                          "max": 100
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                ]
                                                                              }
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "Quantity"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "UnitAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountRate"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "DiscountAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxType"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "TaxAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "AccountCode"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineAmount"
                                                                            },
                                                                            "model": {
                                                                              "type": "Number"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "RepeatingInvoiceID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          },
                                                                          {
                                                                            "key": {
                                                                              "name": "LineItemID"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CreditNoteID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CreditNoteNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "StatusAttributeString"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CISRate"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasAttachments"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AppliedAmount"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SentToContact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Date"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contact"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Discount"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "UpdatedDateUTC"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Message"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Website"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PaymentTerms"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "Sales"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Bills"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Type"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "String",
                                                                                        "annotations": {
                                                                                          "enum": {
                                                                                            "type": "[Ljava.lang.String;",
                                                                                            "values": [
                                                                                              "OFCURRENTMONTH",
                                                                                              "OFFOLLOWINGMONTH",
                                                                                              "DAYSAFTERBILLMONTH",
                                                                                              "DAYSAFTERBILLDATE"
                                                                                            ]
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Day"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number",
                                                                                        "annotations": {
                                                                                          "int": {}
                                                                                        }
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Attachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FileName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContentLength"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Number",
                                                                                    "annotations": {
                                                                                      "int": {}
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeOnline"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttachmentID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Url"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "MimeType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Name"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Addresses"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine3"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine2"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine1"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AttentionTo"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressLine4"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 500
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Region"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PostalCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Country"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "City"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 255
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "AddressType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "POBOX",
                                                                                          "STREET"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SalesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsSupplier"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Phones"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneAreaCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 10
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneCountryCode"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 20
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneType"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "OFFICE",
                                                                                          "DDI",
                                                                                          "FAX",
                                                                                          "DEFAULT",
                                                                                          "MOBILE"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "PhoneNumber"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "length": {
                                                                                        "max": 50
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsReceivableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountsPayableTaxType"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BankAccountDetails"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesDefaultAccountCode"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BatchPayments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountName"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Details"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Reference"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Code"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "length": {
                                                                                      "max": 12
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BankAccountNumber"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TaxNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "BrandingTheme"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "CreatedDateUTC"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "BrandingThemeID"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Type"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String",
                                                                                  "annotations": {
                                                                                    "enum": {
                                                                                      "type": "[Ljava.lang.String;",
                                                                                      "values": [
                                                                                        "INVOICE"
                                                                                      ]
                                                                                    }
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "LogoUrl"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "SortOrder"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Number",
                                                                                  "annotations": {
                                                                                    "int": {}
                                                                                  }
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "Name"
                                                                                },
                                                                                "model": {
                                                                                  "type": "String"
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactGroups"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Status"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String",
                                                                                    "annotations": {
                                                                                      "enum": {
                                                                                        "type": "[Ljava.lang.String;",
                                                                                        "values": [
                                                                                          "ACTIVE",
                                                                                          "DELETED"
                                                                                        ]
                                                                                      }
                                                                                    }
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "ContactGroupID"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Contacts"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Array",
                                                                                    "item": "#../../../.."
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "Name"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "IsCustomer"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "StatusAttributeString"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "DefaultCurrency"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "",
                                                                                  "FJD",
                                                                                  "MXN",
                                                                                  "SCR",
                                                                                  "TVD",
                                                                                  "CDF",
                                                                                  "BBD",
                                                                                  "GTQ",
                                                                                  "CLP",
                                                                                  "HNL",
                                                                                  "UGX",
                                                                                  "ZAR",
                                                                                  "TND",
                                                                                  "STN",
                                                                                  "CUC",
                                                                                  "BSD",
                                                                                  "SLL",
                                                                                  "SDG",
                                                                                  "IQD",
                                                                                  "CUP",
                                                                                  "GMD",
                                                                                  "TWD",
                                                                                  "RSD",
                                                                                  "DOP",
                                                                                  "KMF",
                                                                                  "MYR",
                                                                                  "FKP",
                                                                                  "XOF",
                                                                                  "GEL",
                                                                                  "UYU",
                                                                                  "MAD",
                                                                                  "CVE",
                                                                                  "TOP",
                                                                                  "AZN",
                                                                                  "OMR",
                                                                                  "PGK",
                                                                                  "KES",
                                                                                  "SEK",
                                                                                  "BTN",
                                                                                  "UAH",
                                                                                  "GNF",
                                                                                  "ERN",
                                                                                  "MZN",
                                                                                  "SVC",
                                                                                  "ARS",
                                                                                  "QAR",
                                                                                  "IRR",
                                                                                  "CNY",
                                                                                  "THB",
                                                                                  "UZS",
                                                                                  "XPF",
                                                                                  "MRU",
                                                                                  "BDT",
                                                                                  "LYD",
                                                                                  "BMD",
                                                                                  "KWD",
                                                                                  "PHP",
                                                                                  "RUB",
                                                                                  "PYG",
                                                                                  "ISK",
                                                                                  "JMD",
                                                                                  "COP",
                                                                                  "MKD",
                                                                                  "USD",
                                                                                  "DZD",
                                                                                  "PAB",
                                                                                  "GGP",
                                                                                  "SGD",
                                                                                  "ETB",
                                                                                  "JEP",
                                                                                  "KGS",
                                                                                  "SOS",
                                                                                  "VEF",
                                                                                  "VUV",
                                                                                  "LAK",
                                                                                  "BND",
                                                                                  "ZMK",
                                                                                  "XAF",
                                                                                  "LRD",
                                                                                  "CHF",
                                                                                  "HRK",
                                                                                  "ALL",
                                                                                  "DJF",
                                                                                  "ZMW",
                                                                                  "TZS",
                                                                                  "VND",
                                                                                  "SPL",
                                                                                  "AUD",
                                                                                  "ILS",
                                                                                  "GHS",
                                                                                  "GYD",
                                                                                  "KPW",
                                                                                  "BOB",
                                                                                  "KHR",
                                                                                  "MDL",
                                                                                  "IDR",
                                                                                  "KYD",
                                                                                  "AMD",
                                                                                  "BWP",
                                                                                  "SHP",
                                                                                  "TRY",
                                                                                  "LBP",
                                                                                  "TJS",
                                                                                  "JOD",
                                                                                  "AED",
                                                                                  "HKD",
                                                                                  "RWF",
                                                                                  "EUR",
                                                                                  "LSL",
                                                                                  "DKK",
                                                                                  "ZWD",
                                                                                  "CAD",
                                                                                  "BGN",
                                                                                  "MMK",
                                                                                  "MUR",
                                                                                  "NOK",
                                                                                  "SYP",
                                                                                  "IMP",
                                                                                  "GIP",
                                                                                  "RON",
                                                                                  "LKR",
                                                                                  "NGN",
                                                                                  "CRC",
                                                                                  "CZK",
                                                                                  "PKR",
                                                                                  "XCD",
                                                                                  "ANG",
                                                                                  "HTG",
                                                                                  "BHD",
                                                                                  "KZT",
                                                                                  "SRD",
                                                                                  "SZL",
                                                                                  "LTL",
                                                                                  "SAR",
                                                                                  "TTD",
                                                                                  "YER",
                                                                                  "MVR",
                                                                                  "AFN",
                                                                                  "INR",
                                                                                  "AWG",
                                                                                  "KRW",
                                                                                  "NPR",
                                                                                  "JPY",
                                                                                  "MNT",
                                                                                  "AOA",
                                                                                  "PLN",
                                                                                  "GBP",
                                                                                  "SBD",
                                                                                  "BYN",
                                                                                  "HUF",
                                                                                  "BYR",
                                                                                  "BIF",
                                                                                  "MWK",
                                                                                  "MGA",
                                                                                  "XDR",
                                                                                  "BZD",
                                                                                  "BAM",
                                                                                  "EGP",
                                                                                  "MOP",
                                                                                  "NAD",
                                                                                  "NIO",
                                                                                  "PEN",
                                                                                  "NZD",
                                                                                  "WST",
                                                                                  "TMT",
                                                                                  "BRL"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "FirstName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "SkypeUserName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasAttachments"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Balances"
                                                                          },
                                                                          "model": {
                                                                            "type": "Object",
                                                                            "open": {
                                                                              "type": "Any"
                                                                            },
                                                                            "fields": [
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsPayable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              },
                                                                              {
                                                                                "key": {
                                                                                  "name": "AccountsReceivable"
                                                                                },
                                                                                "model": {
                                                                                  "type": "Object",
                                                                                  "open": {
                                                                                    "type": "Any"
                                                                                  },
                                                                                  "fields": [
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Outstanding"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    },
                                                                                    {
                                                                                      "key": {
                                                                                        "name": "Overdue"
                                                                                      },
                                                                                      "model": {
                                                                                        "type": "Number"
                                                                                      }
                                                                                    }
                                                                                  ]
                                                                                }
                                                                              }
                                                                            ]
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactID"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "EmailAddress"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "AccountNumber"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 50
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "PurchasesTrackingCategories"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingCategoryName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "TrackingOptionName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryOption"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactPersons"
                                                                          },
                                                                          "model": {
                                                                            "type": "Array",
                                                                            "item": {
                                                                              "type": "Object",
                                                                              "open": {
                                                                                "type": "Any"
                                                                              },
                                                                              "fields": [
                                                                                {
                                                                                  "key": {
                                                                                    "name": "IncludeInEmails"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "Boolean"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "FirstName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "LastName"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                },
                                                                                {
                                                                                  "key": {
                                                                                    "name": "EmailAddress"
                                                                                  },
                                                                                  "model": {
                                                                                    "type": "String"
                                                                                  }
                                                                                }
                                                                              ]
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "ContactStatus"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "ACTIVE",
                                                                                  "ARCHIVED",
                                                                                  "GDPRREQUEST"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "LastName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "length": {
                                                                                "max": 255
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "TrackingCategoryName"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "HasValidationErrors"
                                                                          },
                                                                          "model": {
                                                                            "type": "Boolean"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "XeroNetworkKey"
                                                                          },
                                                                          "model": {
                                                                            "type": "String"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LineAmountTypes"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "Inclusive",
                                                                            "NoTax",
                                                                            "Exclusive"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "CISDeduction"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACCPAYCREDIT",
                                                                            "ACCRECCREDIT"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FullyPaidOnDate"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Total"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "HasErrors"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Warnings"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": {
                                                                        "type": "Object",
                                                                        "open": {
                                                                          "type": "Any"
                                                                        },
                                                                        "fields": [
                                                                          {
                                                                            "key": {
                                                                              "name": "Message"
                                                                            },
                                                                            "model": {
                                                                              "type": "String"
                                                                            }
                                                                          }
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Amount",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Prepayment"
                                                              },
                                                              "model": "#../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Overpayment"
                                                              },
                                                              "model": "#../../../../../.."
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Date",
                                                                "required": "true"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "SPEND-OVERPAYMENT",
                                                "AROVERPAYMENT",
                                                "RECEIVE-OVERPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "OverpaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "RepeatingInvoiceID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "IsDiscounted"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasErrors"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Warnings"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalDiscount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[payload]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [],
                  "name": "invoicesContent",
                  "displayModel": {
                    "displayName": "Body"
                  },
                  "description": "the content to use",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "createInvoices",
          "displayModel": {
            "displayName": "Update Or Create Invoices",
            "summary": "Updates or creates one or more sales invoices or purchase bills."
          },
          "description": "Updates or creates one or more sales invoices or purchase bills. This operation makes an HTTP POST request to the /Invoices endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": false,
          "executionType": "CPU_LITE",
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Items"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "SalesDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Description"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsPurchased"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "IsTrackedAsInventory"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "InventoryAssetAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "QuantityOnHand"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Code",
                            "required": "true"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 30
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDescription"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TotalCostPool"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "ItemID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsSold"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:RETRY_EXHAUSTED",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "CREATE_ITEMS",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "false",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "summarizeErrors",
                  "displayModel": {
                    "displayName": "Summarize Errors",
                    "summary": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors."
                  },
                  "description": "If false, returns 200 OK and a mix of successfully created objects as well as any with validation errors.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "unitdp",
                  "displayModel": {
                    "displayName": "unitdp",
                    "summary": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts."
                  },
                  "description": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "json",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.io.InputStream",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.io.Closeable"
                        ],
                        "parent": "",
                        "genericTypes": [],
                        "isMap": false
                      }
                    },
                    "open": {
                      "type": "Any"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "Items"
                        },
                        "model": {
                          "type": "Array",
                          "item": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "SalesDetails"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "TaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UnitPrice"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "COGSAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Description"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 4000
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "IsPurchased"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "IsTrackedAsInventory"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "InventoryAssetAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "QuantityOnHand"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Code",
                                  "required": "true"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 30
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchaseDescription"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 4000
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalCostPool"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "ItemID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 50
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "IsSold"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "PurchaseDetails"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "TaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UnitPrice"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "COGSAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[payload]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [],
                  "name": "itemsContent",
                  "displayModel": {
                    "displayName": "Body"
                  },
                  "description": "the content to use",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "createItems",
          "displayModel": {
            "displayName": "Update Or Create Items",
            "summary": "Updates or creates one or more items."
          },
          "description": "Updates or creates one or more items. This operation makes an HTTP POST request to the /Items endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": true,
          "executionType": "BLOCKING",
          "output": {
            "type": {
              "format": "java",
              "type": "Array",
              "annotations": {
                "classInformation": {
                  "classname": "org.mule.runtime.extension.api.runtime.streaming.PagingProvider",
                  "hasDefaultConstructor": false,
                  "isInterface": true,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "item": {
                "format": "json",
                "type": "Object",
                "open": {
                  "type": "Any"
                },
                "fields": [
                  {
                    "key": {
                      "name": "Contacts"
                    },
                    "model": {
                      "type": "Array",
                      "item": {
                        "type": "Object",
                        "open": {
                          "type": "Any"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "Discount"
                            },
                            "model": {
                              "type": "Number"
                            }
                          },
                          {
                            "key": {
                              "name": "UpdatedDateUTC"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "ValidationErrors"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "Message"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "Website"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "PaymentTerms"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Sales"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "OFCURRENTMONTH",
                                                "OFFOLLOWINGMONTH",
                                                "DAYSAFTERBILLMONTH",
                                                "DAYSAFTERBILLDATE"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Day"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Bills"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "OFCURRENTMONTH",
                                                "OFFOLLOWINGMONTH",
                                                "DAYSAFTERBILLMONTH",
                                                "DAYSAFTERBILLDATE"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Day"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "Attachments"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "FileName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "ContentLength"
                                    },
                                    "model": {
                                      "type": "Number",
                                      "annotations": {
                                        "int": {}
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "IncludeOnline"
                                    },
                                    "model": {
                                      "type": "Boolean"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AttachmentID"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "Url"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "MimeType"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "Name"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 255
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "SalesTrackingCategories"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "TrackingCategoryName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "TrackingOptionName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "Addresses"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "AddressLine3"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 500
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AddressLine2"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 500
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AddressLine1"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 500
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AttentionTo"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 255
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AddressLine4"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 500
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "Region"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 255
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "PostalCode"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 50
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "Country"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 50
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "City"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 255
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "AddressType"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "enum": {
                                          "type": "[Ljava.lang.String;",
                                          "values": [
                                            "POBOX",
                                            "STREET"
                                          ]
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "SalesDefaultAccountCode"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "IsSupplier"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "Phones"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "PhoneAreaCode"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 10
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "PhoneCountryCode"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 20
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "PhoneType"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "enum": {
                                          "type": "[Ljava.lang.String;",
                                          "values": [
                                            "OFFICE",
                                            "DDI",
                                            "FAX",
                                            "DEFAULT",
                                            "MOBILE"
                                          ]
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "PhoneNumber"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "length": {
                                          "max": 50
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "AccountsReceivableTaxType"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "AccountsPayableTaxType"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "BankAccountDetails"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "PurchasesDefaultAccountCode"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "BatchPayments"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "BankAccountName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Details"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 12
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Code"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 12
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BankAccountNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "ContactNumber"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 50
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "TaxNumber"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 50
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "BrandingTheme"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "CreatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BrandingThemeID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "INVOICE"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LogoUrl"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SortOrder"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {}
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Name"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "ContactGroups"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "Status"
                                    },
                                    "model": {
                                      "type": "String",
                                      "annotations": {
                                        "enum": {
                                          "type": "[Ljava.lang.String;",
                                          "values": [
                                            "ACTIVE",
                                            "DELETED"
                                          ]
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "ContactGroupID"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "Contacts"
                                    },
                                    "model": "#../../../.."
                                  },
                                  {
                                    "key": {
                                      "name": "Name"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "IsCustomer"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "StatusAttributeString"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "DefaultCurrency"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "",
                                    "FJD",
                                    "MXN",
                                    "SCR",
                                    "TVD",
                                    "CDF",
                                    "BBD",
                                    "GTQ",
                                    "CLP",
                                    "HNL",
                                    "UGX",
                                    "ZAR",
                                    "TND",
                                    "STN",
                                    "CUC",
                                    "BSD",
                                    "SLL",
                                    "SDG",
                                    "IQD",
                                    "CUP",
                                    "GMD",
                                    "TWD",
                                    "RSD",
                                    "DOP",
                                    "KMF",
                                    "MYR",
                                    "FKP",
                                    "XOF",
                                    "GEL",
                                    "UYU",
                                    "MAD",
                                    "CVE",
                                    "TOP",
                                    "AZN",
                                    "OMR",
                                    "PGK",
                                    "KES",
                                    "SEK",
                                    "BTN",
                                    "UAH",
                                    "GNF",
                                    "ERN",
                                    "MZN",
                                    "SVC",
                                    "ARS",
                                    "QAR",
                                    "IRR",
                                    "CNY",
                                    "THB",
                                    "UZS",
                                    "XPF",
                                    "MRU",
                                    "BDT",
                                    "LYD",
                                    "BMD",
                                    "KWD",
                                    "PHP",
                                    "RUB",
                                    "PYG",
                                    "ISK",
                                    "JMD",
                                    "COP",
                                    "MKD",
                                    "USD",
                                    "DZD",
                                    "PAB",
                                    "GGP",
                                    "SGD",
                                    "ETB",
                                    "JEP",
                                    "KGS",
                                    "SOS",
                                    "VEF",
                                    "VUV",
                                    "LAK",
                                    "BND",
                                    "ZMK",
                                    "XAF",
                                    "LRD",
                                    "CHF",
                                    "HRK",
                                    "ALL",
                                    "DJF",
                                    "ZMW",
                                    "TZS",
                                    "VND",
                                    "SPL",
                                    "AUD",
                                    "ILS",
                                    "GHS",
                                    "GYD",
                                    "KPW",
                                    "BOB",
                                    "KHR",
                                    "MDL",
                                    "IDR",
                                    "KYD",
                                    "AMD",
                                    "BWP",
                                    "SHP",
                                    "TRY",
                                    "LBP",
                                    "TJS",
                                    "JOD",
                                    "AED",
                                    "HKD",
                                    "RWF",
                                    "EUR",
                                    "LSL",
                                    "DKK",
                                    "ZWD",
                                    "CAD",
                                    "BGN",
                                    "MMK",
                                    "MUR",
                                    "NOK",
                                    "SYP",
                                    "IMP",
                                    "GIP",
                                    "RON",
                                    "LKR",
                                    "NGN",
                                    "CRC",
                                    "CZK",
                                    "PKR",
                                    "XCD",
                                    "ANG",
                                    "HTG",
                                    "BHD",
                                    "KZT",
                                    "SRD",
                                    "SZL",
                                    "LTL",
                                    "SAR",
                                    "TTD",
                                    "YER",
                                    "MVR",
                                    "AFN",
                                    "INR",
                                    "AWG",
                                    "KRW",
                                    "NPR",
                                    "JPY",
                                    "MNT",
                                    "AOA",
                                    "PLN",
                                    "GBP",
                                    "SBD",
                                    "BYN",
                                    "HUF",
                                    "BYR",
                                    "BIF",
                                    "MWK",
                                    "MGA",
                                    "XDR",
                                    "BZD",
                                    "BAM",
                                    "EGP",
                                    "MOP",
                                    "NAD",
                                    "NIO",
                                    "PEN",
                                    "NZD",
                                    "WST",
                                    "TMT",
                                    "BRL"
                                  ]
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "FirstName"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 255
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "SkypeUserName"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "HasAttachments"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "Balances"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "AccountsPayable"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Outstanding"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Overdue"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AccountsReceivable"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Outstanding"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Overdue"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "ContactID"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "EmailAddress"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 255
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "AccountNumber"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 50
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "PurchasesTrackingCategories"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "TrackingCategoryName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "TrackingOptionName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "TrackingCategoryOption"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "ContactPersons"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "IncludeInEmails"
                                    },
                                    "model": {
                                      "type": "Boolean"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "FirstName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "LastName"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  },
                                  {
                                    "key": {
                                      "name": "EmailAddress"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "ContactStatus"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "ACTIVE",
                                    "ARCHIVED",
                                    "GDPRREQUEST"
                                  ]
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "LastName"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "length": {
                                  "max": 255
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "TrackingCategoryName"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "HasValidationErrors"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "XeroNetworkKey"
                            },
                            "model": {
                              "type": "String"
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "Void"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "GET_CONTACTS",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Array",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.util.List",
                        "hasDefaultConstructor": false,
                        "isInterface": true,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Collection"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String"
                        ],
                        "isMap": false
                      }
                    },
                    "item": {
                      "type": "String"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "ids",
                  "displayModel": {
                    "displayName": "IDs",
                    "summary": "Filter by a comma-separated list of contact IDs, which enables you to retrieve a specific set of contacts in a single call."
                  },
                  "description": "Filter by a comma-separated list of contact IDs, which enables you to retrieve a specific set of contacts in a single call.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "1",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "page",
                  "displayModel": {
                    "displayName": "page",
                    "summary": "For example, page\u003d1. Up to 100 contacts will be returned in a single API call."
                  },
                  "description": "For example, page\u003d1. Up to 100 contacts will be returned in a single API call.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "false",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "includeArchived",
                  "displayModel": {
                    "displayName": "Include Archived",
                    "summary": "For example, includeArchived\u003dtrue. Contacts with a status of ARCHIVED will be included in the response."
                  },
                  "description": "For example, includeArchived\u003dtrue. Contacts with a status of ARCHIVED will be included in the response.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [],
                  "name": "order",
                  "displayModel": {
                    "displayName": "order",
                    "summary": "Order by an element."
                  },
                  "description": "Order by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7
                  },
                  "allowedStereotypeModels": [],
                  "name": "where",
                  "displayModel": {
                    "displayName": "where",
                    "summary": "Filter by an element."
                  },
                  "description": "Filter by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9
                  },
                  "allowedStereotypeModels": [],
                  "name": "ifModifiedSince",
                  "displayModel": {
                    "displayName": "If Modified Since",
                    "summary": "Only records created or modified since this timestamp will be returned."
                  },
                  "description": "Only records created or modified since this timestamp will be returned.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "outputMimeType",
                  "description": "The mime type of the payload that this operation outputs.",
                  "modelProperties": {
                    "sinceMuleVersion": {
                      "version": "4.2.0"
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ObjectStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-iterable"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of instances that will be initially be allowed to be kept in memory in order to consume the stream and provide random access to it. If the stream contains more data than can fit into this buffer, then it will be expanded according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. Default value is 100 instances."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will the buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full. Default value is 100 instances."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "500"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-iterable"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemoryObjects"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of instances that will be kept in memory. If more than that is required, then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-iterable",
                          "description": {
                            "value": "This configuration allows the stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-object-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[null]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 15,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 16,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 17,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 18,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "getContacts",
          "displayModel": {
            "displayName": "Get Contacts",
            "summary": "Retrieves all contacts in a Xero organisation."
          },
          "description": "Retrieves all contacts in a Xero organisation. This operation makes an HTTP GET request to the /Contacts endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": false,
          "executionType": "CPU_LITE",
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Contacts"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "Discount"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Website"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PaymentTerms"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Sales"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Bills"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Attachments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "FileName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContentLength"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {}
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IncludeOnline"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttachmentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Url"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "MimeType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Addresses"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "AddressLine3"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine2"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine1"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttentionTo"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine4"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Region"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PostalCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Country"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "City"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "POBOX",
                                          "STREET"
                                        ]
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "IsSupplier"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Phones"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "PhoneAreaCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 10
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneCountryCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 20
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "OFFICE",
                                          "DDI",
                                          "FAX",
                                          "DEFAULT",
                                          "MOBILE"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneNumber"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsReceivableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsPayableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BankAccountDetails"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BatchPayments"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "BankAccountName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Details"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Code"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountNumber"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TaxNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "BrandingTheme"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "CreatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "INVOICE"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LogoUrl"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "SortOrder"
                                },
                                "model": {
                                  "type": "Number",
                                  "annotations": {
                                    "int": {}
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactGroups"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACTIVE",
                                          "DELETED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContactGroupID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contacts"
                                  },
                                  "model": "#../../../.."
                                },
                                {
                                  "key": {
                                    "name": "Name"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsCustomer"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "DefaultCurrency"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "",
                                  "FJD",
                                  "MXN",
                                  "SCR",
                                  "TVD",
                                  "CDF",
                                  "BBD",
                                  "GTQ",
                                  "CLP",
                                  "HNL",
                                  "UGX",
                                  "ZAR",
                                  "TND",
                                  "STN",
                                  "CUC",
                                  "BSD",
                                  "SLL",
                                  "SDG",
                                  "IQD",
                                  "CUP",
                                  "GMD",
                                  "TWD",
                                  "RSD",
                                  "DOP",
                                  "KMF",
                                  "MYR",
                                  "FKP",
                                  "XOF",
                                  "GEL",
                                  "UYU",
                                  "MAD",
                                  "CVE",
                                  "TOP",
                                  "AZN",
                                  "OMR",
                                  "PGK",
                                  "KES",
                                  "SEK",
                                  "BTN",
                                  "UAH",
                                  "GNF",
                                  "ERN",
                                  "MZN",
                                  "SVC",
                                  "ARS",
                                  "QAR",
                                  "IRR",
                                  "CNY",
                                  "THB",
                                  "UZS",
                                  "XPF",
                                  "MRU",
                                  "BDT",
                                  "LYD",
                                  "BMD",
                                  "KWD",
                                  "PHP",
                                  "RUB",
                                  "PYG",
                                  "ISK",
                                  "JMD",
                                  "COP",
                                  "MKD",
                                  "USD",
                                  "DZD",
                                  "PAB",
                                  "GGP",
                                  "SGD",
                                  "ETB",
                                  "JEP",
                                  "KGS",
                                  "SOS",
                                  "VEF",
                                  "VUV",
                                  "LAK",
                                  "BND",
                                  "ZMK",
                                  "XAF",
                                  "LRD",
                                  "CHF",
                                  "HRK",
                                  "ALL",
                                  "DJF",
                                  "ZMW",
                                  "TZS",
                                  "VND",
                                  "SPL",
                                  "AUD",
                                  "ILS",
                                  "GHS",
                                  "GYD",
                                  "KPW",
                                  "BOB",
                                  "KHR",
                                  "MDL",
                                  "IDR",
                                  "KYD",
                                  "AMD",
                                  "BWP",
                                  "SHP",
                                  "TRY",
                                  "LBP",
                                  "TJS",
                                  "JOD",
                                  "AED",
                                  "HKD",
                                  "RWF",
                                  "EUR",
                                  "LSL",
                                  "DKK",
                                  "ZWD",
                                  "CAD",
                                  "BGN",
                                  "MMK",
                                  "MUR",
                                  "NOK",
                                  "SYP",
                                  "IMP",
                                  "GIP",
                                  "RON",
                                  "LKR",
                                  "NGN",
                                  "CRC",
                                  "CZK",
                                  "PKR",
                                  "XCD",
                                  "ANG",
                                  "HTG",
                                  "BHD",
                                  "KZT",
                                  "SRD",
                                  "SZL",
                                  "LTL",
                                  "SAR",
                                  "TTD",
                                  "YER",
                                  "MVR",
                                  "AFN",
                                  "INR",
                                  "AWG",
                                  "KRW",
                                  "NPR",
                                  "JPY",
                                  "MNT",
                                  "AOA",
                                  "PLN",
                                  "GBP",
                                  "SBD",
                                  "BYN",
                                  "HUF",
                                  "BYR",
                                  "BIF",
                                  "MWK",
                                  "MGA",
                                  "XDR",
                                  "BZD",
                                  "BAM",
                                  "EGP",
                                  "MOP",
                                  "NAD",
                                  "NIO",
                                  "PEN",
                                  "NZD",
                                  "WST",
                                  "TMT",
                                  "BRL"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "FirstName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SkypeUserName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasAttachments"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Balances"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "AccountsPayable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsReceivable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "EmailAddress"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryOption"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ContactPersons"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "IncludeInEmails"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FirstName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LastName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "EmailAddress"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "ContactStatus"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "ACTIVE",
                                  "ARCHIVED",
                                  "GDPRREQUEST"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "LastName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasValidationErrors"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "XeroNetworkKey"
                          },
                          "model": {
                            "type": "String"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:RETRY_EXHAUSTED",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "GET_CONTACTS_BY_CONTACT_ID",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "contactId",
                  "displayModel": {
                    "displayName": "Contact ID",
                    "summary": "Unique identifier for a Contact."
                  },
                  "description": "Unique identifier for a Contact.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[null]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "getContactsByContactId",
          "displayModel": {
            "displayName": "Get Contact By Contact ID",
            "summary": "Retrieves a specific contact in a Xero organisation using a unique contact ID."
          },
          "description": "Retrieves a specific contact in a Xero organisation using a unique contact ID. This operation makes an HTTP GET request to the /Contacts/{ContactID} endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": false,
          "executionType": "CPU_LITE",
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Items"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "SalesDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Description"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsPurchased"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "IsTrackedAsInventory"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "InventoryAssetAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "QuantityOnHand"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Code",
                            "required": "true"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 30
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDescription"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TotalCostPool"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "ItemID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsSold"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:RETRY_EXHAUSTED",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "GET_ITEMS",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "where",
                  "displayModel": {
                    "displayName": "where",
                    "summary": "Filter by an element."
                  },
                  "description": "Filter by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "order",
                  "displayModel": {
                    "displayName": "order",
                    "summary": "Order by an element."
                  },
                  "description": "Order by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "unitdp",
                  "displayModel": {
                    "displayName": "unitdp",
                    "summary": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts."
                  },
                  "description": "(Unit Decimal Places) You can opt in to use four decimal places for unit amounts.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7
                  },
                  "allowedStereotypeModels": [],
                  "name": "ifModifiedSince",
                  "displayModel": {
                    "displayName": "If Modified Since",
                    "summary": "Only records created or modified since this timestamp will be returned."
                  },
                  "description": "Only records created or modified since this timestamp will be returned.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[null]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 15,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "getItems",
          "displayModel": {
            "displayName": "Get Items",
            "summary": "Retrieves items."
          },
          "description": "Retrieves items. This operation makes an HTTP GET request to the /Items endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": true,
          "executionType": "BLOCKING",
          "output": {
            "type": {
              "format": "java",
              "type": "Array",
              "annotations": {
                "classInformation": {
                  "classname": "org.mule.runtime.extension.api.runtime.streaming.PagingProvider",
                  "hasDefaultConstructor": false,
                  "isInterface": true,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "item": {
                "format": "json",
                "type": "Object",
                "open": {
                  "type": "Any"
                },
                "fields": [
                  {
                    "key": {
                      "name": "Payments"
                    },
                    "model": {
                      "type": "Array",
                      "item": {
                        "type": "Object",
                        "open": {
                          "type": "Any"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "Account"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACTIVE",
                                          "ARCHIVED",
                                          "DELETED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AccountID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Description"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ValidationErrors"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ShowInExpenseClaims"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Code"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Name"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 150
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ReportingCodeName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TaxType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "EnablePaymentsToAccount"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "OTHERINCOME",
                                          "BANK",
                                          "CURRLIAB",
                                          "SUPERANNUATIONEXPENSE",
                                          "REVENUE",
                                          "DIRECTCOSTS",
                                          "SUPERANNUATIONLIABILITY",
                                          "FIXED",
                                          "LIABILITY",
                                          "OVERHEADS",
                                          "CURRENT",
                                          "WAGESEXPENSE",
                                          "DEPRECIATN",
                                          "INVENTORY",
                                          "PREPAYMENT",
                                          "TERMLIAB",
                                          "EXPENSE",
                                          "PAYG",
                                          "SALES",
                                          "NONCURRENT",
                                          "EQUITY",
                                          "PAYGLIABILITY"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BankAccountType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "BANK",
                                          "PAYPAL",
                                          "CREDITCARD",
                                          "NONE"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddToWatchlist"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Class"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "REVENUE",
                                          "EXPENSE",
                                          "LIABILITY",
                                          "ASSET",
                                          "EQUITY"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BankAccountNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ReportingCode"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SystemAccount"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "HISTORICAL",
                                          "CISLIABILITY",
                                          "GST",
                                          "REALISEDCURRENCYGAIN",
                                          "CISMATERIALS",
                                          "CISLABOUR",
                                          "CISLABOUREXPENSE",
                                          "UNREALISEDCURRENCYGAIN",
                                          "GSTONIMPORTS",
                                          "CISASSET",
                                          "DEBTORS",
                                          "TRACKINGTRANSFERS",
                                          "CISLABOURINCOME",
                                          "RETAINEDEARNINGS",
                                          "BANKCURRENCYGAIN",
                                          "ROUNDING",
                                          "CISASSETS",
                                          "CREDITORS",
                                          "UNPAIDEXPCLM",
                                          "WAGEPAYABLES"
                                        ]
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "Invoice"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "BrandingThemeID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ValidationErrors"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AmountPaid"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AmountCredited"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Payments"
                                  },
                                  "model": "#../../.."
                                },
                                {
                                  "key": {
                                    "name": "CreditNotes"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Allocations"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Invoice",
                                                    "required": "true"
                                                  },
                                                  "model": "#../../../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "StatusAttributeString"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "ValidationErrors"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Message"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "CreditNote"
                                                  },
                                                  "model": "#../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "Amount",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Prepayment"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ARPREPAYMENT",
                                                                "SPEND-PREPAYMENT",
                                                                "APPREPAYMENT",
                                                                "RECEIVE-PREPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PrepaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overpayment"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "SPEND-OVERPAYMENT",
                                                                "AROVERPAYMENT",
                                                                "RECEIVE-OVERPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "OverpaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Date",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "BrandingThemeID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UpdatedDateUTC"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Payments"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "SubTotal"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyCode"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "",
                                                  "FJD",
                                                  "MXN",
                                                  "SCR",
                                                  "TVD",
                                                  "CDF",
                                                  "BBD",
                                                  "GTQ",
                                                  "CLP",
                                                  "HNL",
                                                  "UGX",
                                                  "ZAR",
                                                  "TND",
                                                  "STN",
                                                  "CUC",
                                                  "BSD",
                                                  "SLL",
                                                  "SDG",
                                                  "IQD",
                                                  "CUP",
                                                  "GMD",
                                                  "TWD",
                                                  "RSD",
                                                  "DOP",
                                                  "KMF",
                                                  "MYR",
                                                  "FKP",
                                                  "XOF",
                                                  "GEL",
                                                  "UYU",
                                                  "MAD",
                                                  "CVE",
                                                  "TOP",
                                                  "AZN",
                                                  "OMR",
                                                  "PGK",
                                                  "KES",
                                                  "SEK",
                                                  "BTN",
                                                  "UAH",
                                                  "GNF",
                                                  "ERN",
                                                  "MZN",
                                                  "SVC",
                                                  "ARS",
                                                  "QAR",
                                                  "IRR",
                                                  "CNY",
                                                  "THB",
                                                  "UZS",
                                                  "XPF",
                                                  "MRU",
                                                  "BDT",
                                                  "LYD",
                                                  "BMD",
                                                  "KWD",
                                                  "PHP",
                                                  "RUB",
                                                  "PYG",
                                                  "ISK",
                                                  "JMD",
                                                  "COP",
                                                  "MKD",
                                                  "USD",
                                                  "DZD",
                                                  "PAB",
                                                  "GGP",
                                                  "SGD",
                                                  "ETB",
                                                  "JEP",
                                                  "KGS",
                                                  "SOS",
                                                  "VEF",
                                                  "VUV",
                                                  "LAK",
                                                  "BND",
                                                  "ZMK",
                                                  "XAF",
                                                  "LRD",
                                                  "CHF",
                                                  "HRK",
                                                  "ALL",
                                                  "DJF",
                                                  "ZMW",
                                                  "TZS",
                                                  "VND",
                                                  "SPL",
                                                  "AUD",
                                                  "ILS",
                                                  "GHS",
                                                  "GYD",
                                                  "KPW",
                                                  "BOB",
                                                  "KHR",
                                                  "MDL",
                                                  "IDR",
                                                  "KYD",
                                                  "AMD",
                                                  "BWP",
                                                  "SHP",
                                                  "TRY",
                                                  "LBP",
                                                  "TJS",
                                                  "JOD",
                                                  "AED",
                                                  "HKD",
                                                  "RWF",
                                                  "EUR",
                                                  "LSL",
                                                  "DKK",
                                                  "ZWD",
                                                  "CAD",
                                                  "BGN",
                                                  "MMK",
                                                  "MUR",
                                                  "NOK",
                                                  "SYP",
                                                  "IMP",
                                                  "GIP",
                                                  "RON",
                                                  "LKR",
                                                  "NGN",
                                                  "CRC",
                                                  "CZK",
                                                  "PKR",
                                                  "XCD",
                                                  "ANG",
                                                  "HTG",
                                                  "BHD",
                                                  "KZT",
                                                  "SRD",
                                                  "SZL",
                                                  "LTL",
                                                  "SAR",
                                                  "TTD",
                                                  "YER",
                                                  "MVR",
                                                  "AFN",
                                                  "INR",
                                                  "AWG",
                                                  "KRW",
                                                  "NPR",
                                                  "JPY",
                                                  "MNT",
                                                  "AOA",
                                                  "PLN",
                                                  "GBP",
                                                  "SBD",
                                                  "BYN",
                                                  "HUF",
                                                  "BYR",
                                                  "BIF",
                                                  "MWK",
                                                  "MGA",
                                                  "XDR",
                                                  "BZD",
                                                  "BAM",
                                                  "EGP",
                                                  "MOP",
                                                  "NAD",
                                                  "NIO",
                                                  "PEN",
                                                  "NZD",
                                                  "WST",
                                                  "TMT",
                                                  "BRL"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RemainingCredit"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TotalTax"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DueDate"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Status"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "AUTHORISED",
                                                  "DRAFT",
                                                  "PAID",
                                                  "SUBMITTED",
                                                  "DELETED",
                                                  "VOIDED"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItems"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "ItemCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Description"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Tracking"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "TrackingCategoryID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "TrackingOptionID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Option"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 100
                                                              }
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Quantity"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "UnitAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountRate"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxType"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "AccountCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "RepeatingInvoiceID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineItemID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNoteID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNoteNumber"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CISRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Reference"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasAttachments"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AppliedAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "SentToContact"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Contact"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Discount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Website"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentTerms"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Sales"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Bills"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Addresses"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "AddressLine3"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine2"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine1"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttentionTo"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine4"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Region"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PostalCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Country"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "City"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "POBOX",
                                                                "STREET"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsSupplier"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Phones"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "PhoneAreaCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 10
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneCountryCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 20
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "OFFICE",
                                                                "DDI",
                                                                "FAX",
                                                                "DEFAULT",
                                                                "MOBILE"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneNumber"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsReceivableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsPayableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountDetails"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BatchPayments"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "BankAccountName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Details"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Code"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingTheme"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "CreatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "INVOICE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LogoUrl"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SortOrder"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroups"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACTIVE",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContactGroupID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contacts"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": "#../../../.."
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsCustomer"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DefaultCurrency"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SkypeUserName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Balances"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryOption"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactPersons"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "IncludeInEmails"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FirstName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LastName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "EmailAddress"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactStatus"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "ARCHIVED",
                                                        "GDPRREQUEST"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "XeroNetworkKey"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmountTypes"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "Inclusive",
                                                  "NoTax",
                                                  "Exclusive"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CISDeduction"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Type"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "ACCPAYCREDIT",
                                                  "ACCRECCREDIT"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "FullyPaidOnDate"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Total"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasErrors"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Warnings"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Attachments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "FileName"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ContentLength"
                                          },
                                          "model": {
                                            "type": "Number",
                                            "annotations": {
                                              "int": {}
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IncludeOnline"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AttachmentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Url"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "MimeType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Url"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PlannedPaymentDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "InvoiceNumber"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "DueDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "DRAFT",
                                          "PAID",
                                          "SUBMITTED",
                                          "DELETED",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AmountDue"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "StatusAttributeString"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Prepayments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Status"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "AUTHORISED",
                                                  "PAID",
                                                  "VOIDED"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItems"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "ItemCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Description"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Tracking"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "TrackingCategoryID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "TrackingOptionID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Option"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 100
                                                              }
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Quantity"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "UnitAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountRate"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxType"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "AccountCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "RepeatingInvoiceID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineItemID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Allocations"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Invoice",
                                                    "required": "true"
                                                  },
                                                  "model": "#../../../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "StatusAttributeString"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "ValidationErrors"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Message"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "CreditNote"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BrandingThemeID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DueDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DRAFT",
                                                                "PAID",
                                                                "SUBMITTED",
                                                                "DELETED",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SentToContact"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISDeduction"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACCPAYCREDIT",
                                                                "ACCRECCREDIT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FullyPaidOnDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Warnings"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Amount",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Prepayment"
                                                  },
                                                  "model": "#../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overpayment"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "SPEND-OVERPAYMENT",
                                                                "AROVERPAYMENT",
                                                                "RECEIVE-OVERPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "OverpaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Date",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UpdatedDateUTC"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Reference"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasAttachments"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AppliedAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "SubTotal"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Attachments"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "FileName"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "ContentLength"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "IncludeOnline"
                                                  },
                                                  "model": {
                                                    "type": "Boolean"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "AttachmentID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Url"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "MimeType"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Contact"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Discount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Website"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentTerms"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Sales"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Bills"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Addresses"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "AddressLine3"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine2"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine1"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttentionTo"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine4"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Region"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PostalCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Country"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "City"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "POBOX",
                                                                "STREET"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsSupplier"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Phones"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "PhoneAreaCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 10
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneCountryCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 20
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "OFFICE",
                                                                "DDI",
                                                                "FAX",
                                                                "DEFAULT",
                                                                "MOBILE"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneNumber"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsReceivableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsPayableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountDetails"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BatchPayments"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "BankAccountName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Details"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Code"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingTheme"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "CreatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "INVOICE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LogoUrl"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SortOrder"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroups"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACTIVE",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContactGroupID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contacts"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": "#../../../.."
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsCustomer"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DefaultCurrency"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SkypeUserName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Balances"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryOption"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactPersons"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "IncludeInEmails"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FirstName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LastName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "EmailAddress"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactStatus"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "ARCHIVED",
                                                        "GDPRREQUEST"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "XeroNetworkKey"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmountTypes"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "Inclusive",
                                                  "NoTax",
                                                  "Exclusive"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyCode"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "",
                                                  "FJD",
                                                  "MXN",
                                                  "SCR",
                                                  "TVD",
                                                  "CDF",
                                                  "BBD",
                                                  "GTQ",
                                                  "CLP",
                                                  "HNL",
                                                  "UGX",
                                                  "ZAR",
                                                  "TND",
                                                  "STN",
                                                  "CUC",
                                                  "BSD",
                                                  "SLL",
                                                  "SDG",
                                                  "IQD",
                                                  "CUP",
                                                  "GMD",
                                                  "TWD",
                                                  "RSD",
                                                  "DOP",
                                                  "KMF",
                                                  "MYR",
                                                  "FKP",
                                                  "XOF",
                                                  "GEL",
                                                  "UYU",
                                                  "MAD",
                                                  "CVE",
                                                  "TOP",
                                                  "AZN",
                                                  "OMR",
                                                  "PGK",
                                                  "KES",
                                                  "SEK",
                                                  "BTN",
                                                  "UAH",
                                                  "GNF",
                                                  "ERN",
                                                  "MZN",
                                                  "SVC",
                                                  "ARS",
                                                  "QAR",
                                                  "IRR",
                                                  "CNY",
                                                  "THB",
                                                  "UZS",
                                                  "XPF",
                                                  "MRU",
                                                  "BDT",
                                                  "LYD",
                                                  "BMD",
                                                  "KWD",
                                                  "PHP",
                                                  "RUB",
                                                  "PYG",
                                                  "ISK",
                                                  "JMD",
                                                  "COP",
                                                  "MKD",
                                                  "USD",
                                                  "DZD",
                                                  "PAB",
                                                  "GGP",
                                                  "SGD",
                                                  "ETB",
                                                  "JEP",
                                                  "KGS",
                                                  "SOS",
                                                  "VEF",
                                                  "VUV",
                                                  "LAK",
                                                  "BND",
                                                  "ZMK",
                                                  "XAF",
                                                  "LRD",
                                                  "CHF",
                                                  "HRK",
                                                  "ALL",
                                                  "DJF",
                                                  "ZMW",
                                                  "TZS",
                                                  "VND",
                                                  "SPL",
                                                  "AUD",
                                                  "ILS",
                                                  "GHS",
                                                  "GYD",
                                                  "KPW",
                                                  "BOB",
                                                  "KHR",
                                                  "MDL",
                                                  "IDR",
                                                  "KYD",
                                                  "AMD",
                                                  "BWP",
                                                  "SHP",
                                                  "TRY",
                                                  "LBP",
                                                  "TJS",
                                                  "JOD",
                                                  "AED",
                                                  "HKD",
                                                  "RWF",
                                                  "EUR",
                                                  "LSL",
                                                  "DKK",
                                                  "ZWD",
                                                  "CAD",
                                                  "BGN",
                                                  "MMK",
                                                  "MUR",
                                                  "NOK",
                                                  "SYP",
                                                  "IMP",
                                                  "GIP",
                                                  "RON",
                                                  "LKR",
                                                  "NGN",
                                                  "CRC",
                                                  "CZK",
                                                  "PKR",
                                                  "XCD",
                                                  "ANG",
                                                  "HTG",
                                                  "BHD",
                                                  "KZT",
                                                  "SRD",
                                                  "SZL",
                                                  "LTL",
                                                  "SAR",
                                                  "TTD",
                                                  "YER",
                                                  "MVR",
                                                  "AFN",
                                                  "INR",
                                                  "AWG",
                                                  "KRW",
                                                  "NPR",
                                                  "JPY",
                                                  "MNT",
                                                  "AOA",
                                                  "PLN",
                                                  "GBP",
                                                  "SBD",
                                                  "BYN",
                                                  "HUF",
                                                  "BYR",
                                                  "BIF",
                                                  "MWK",
                                                  "MGA",
                                                  "XDR",
                                                  "BZD",
                                                  "BAM",
                                                  "EGP",
                                                  "MOP",
                                                  "NAD",
                                                  "NIO",
                                                  "PEN",
                                                  "NZD",
                                                  "WST",
                                                  "TMT",
                                                  "BRL"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Type"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "ARPREPAYMENT",
                                                  "SPEND-PREPAYMENT",
                                                  "APPREPAYMENT",
                                                  "RECEIVE-PREPAYMENT"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "PrepaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RemainingCredit"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TotalTax"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Total"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SentToContact"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "InvoiceID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISDeduction"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ExpectedPaymentDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACCPAYCREDIT",
                                          "APOVERPAYMENT",
                                          "ACCREC",
                                          "AROVERPAYMENT",
                                          "ARPREPAYMENT",
                                          "APPREPAYMENT",
                                          "ACCPAY",
                                          "ACCRECCREDIT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FullyPaidOnDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Overpayments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Status"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "AUTHORISED",
                                                  "PAID",
                                                  "VOIDED"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItems"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "ItemCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Description"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Tracking"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "TrackingCategoryID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "TrackingOptionID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Option"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 100
                                                              }
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Quantity"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "UnitAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountRate"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "DiscountAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxType"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TaxAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "AccountCode"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineAmount"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "RepeatingInvoiceID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "LineItemID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Allocations"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Invoice",
                                                    "required": "true"
                                                  },
                                                  "model": "#../../../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "StatusAttributeString"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "ValidationErrors"
                                                  },
                                                  "model": {
                                                    "type": "Array",
                                                    "item": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Message"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "CreditNote"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BrandingThemeID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DueDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DRAFT",
                                                                "PAID",
                                                                "SUBMITTED",
                                                                "DELETED",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SentToContact"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISDeduction"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACCPAYCREDIT",
                                                                "ACCRECCREDIT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FullyPaidOnDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Warnings"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Amount",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Prepayment"
                                                  },
                                                  "model": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ARPREPAYMENT",
                                                                "SPEND-PREPAYMENT",
                                                                "APPREPAYMENT",
                                                                "RECEIVE-PREPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PrepaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overpayment"
                                                  },
                                                  "model": "#../../.."
                                                },
                                                {
                                                  "key": {
                                                    "name": "Date",
                                                    "required": "true"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UpdatedDateUTC"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "HasAttachments"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AppliedAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Payments"
                                          },
                                          "model": "#../../../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "SubTotal"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Attachments"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "FileName"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "ContentLength"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "IncludeOnline"
                                                  },
                                                  "model": {
                                                    "type": "Boolean"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "AttachmentID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Url"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "MimeType"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Contact"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Discount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Website"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PaymentTerms"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Sales"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Bills"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFCURRENTMONTH",
                                                                    "OFFOLLOWINGMONTH",
                                                                    "DAYSAFTERBILLMONTH",
                                                                    "DAYSAFTERBILLDATE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Day"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Addresses"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "AddressLine3"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine2"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine1"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttentionTo"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressLine4"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 500
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Region"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PostalCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Country"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "City"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 255
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AddressType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "POBOX",
                                                                "STREET"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SalesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsSupplier"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Phones"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "PhoneAreaCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 10
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneCountryCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 20
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneType"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "OFFICE",
                                                                "DDI",
                                                                "FAX",
                                                                "DEFAULT",
                                                                "MOBILE"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PhoneNumber"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 50
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsReceivableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountsPayableTaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BankAccountDetails"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesDefaultAccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BatchPayments"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "BankAccountName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Details"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Code"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 12
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingTheme"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "CreatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "INVOICE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LogoUrl"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SortOrder"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroups"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACTIVE",
                                                                "DELETED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContactGroupID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contacts"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": "#../../../.."
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsCustomer"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DefaultCurrency"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SkypeUserName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Balances"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivable"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Outstanding"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Overdue"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PurchasesTrackingCategories"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryOption"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactPersons"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "IncludeInEmails"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FirstName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LastName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "EmailAddress"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactStatus"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "ARCHIVED",
                                                        "GDPRREQUEST"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "XeroNetworkKey"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmountTypes"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "Inclusive",
                                                  "NoTax",
                                                  "Exclusive"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CurrencyCode"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "",
                                                  "FJD",
                                                  "MXN",
                                                  "SCR",
                                                  "TVD",
                                                  "CDF",
                                                  "BBD",
                                                  "GTQ",
                                                  "CLP",
                                                  "HNL",
                                                  "UGX",
                                                  "ZAR",
                                                  "TND",
                                                  "STN",
                                                  "CUC",
                                                  "BSD",
                                                  "SLL",
                                                  "SDG",
                                                  "IQD",
                                                  "CUP",
                                                  "GMD",
                                                  "TWD",
                                                  "RSD",
                                                  "DOP",
                                                  "KMF",
                                                  "MYR",
                                                  "FKP",
                                                  "XOF",
                                                  "GEL",
                                                  "UYU",
                                                  "MAD",
                                                  "CVE",
                                                  "TOP",
                                                  "AZN",
                                                  "OMR",
                                                  "PGK",
                                                  "KES",
                                                  "SEK",
                                                  "BTN",
                                                  "UAH",
                                                  "GNF",
                                                  "ERN",
                                                  "MZN",
                                                  "SVC",
                                                  "ARS",
                                                  "QAR",
                                                  "IRR",
                                                  "CNY",
                                                  "THB",
                                                  "UZS",
                                                  "XPF",
                                                  "MRU",
                                                  "BDT",
                                                  "LYD",
                                                  "BMD",
                                                  "KWD",
                                                  "PHP",
                                                  "RUB",
                                                  "PYG",
                                                  "ISK",
                                                  "JMD",
                                                  "COP",
                                                  "MKD",
                                                  "USD",
                                                  "DZD",
                                                  "PAB",
                                                  "GGP",
                                                  "SGD",
                                                  "ETB",
                                                  "JEP",
                                                  "KGS",
                                                  "SOS",
                                                  "VEF",
                                                  "VUV",
                                                  "LAK",
                                                  "BND",
                                                  "ZMK",
                                                  "XAF",
                                                  "LRD",
                                                  "CHF",
                                                  "HRK",
                                                  "ALL",
                                                  "DJF",
                                                  "ZMW",
                                                  "TZS",
                                                  "VND",
                                                  "SPL",
                                                  "AUD",
                                                  "ILS",
                                                  "GHS",
                                                  "GYD",
                                                  "KPW",
                                                  "BOB",
                                                  "KHR",
                                                  "MDL",
                                                  "IDR",
                                                  "KYD",
                                                  "AMD",
                                                  "BWP",
                                                  "SHP",
                                                  "TRY",
                                                  "LBP",
                                                  "TJS",
                                                  "JOD",
                                                  "AED",
                                                  "HKD",
                                                  "RWF",
                                                  "EUR",
                                                  "LSL",
                                                  "DKK",
                                                  "ZWD",
                                                  "CAD",
                                                  "BGN",
                                                  "MMK",
                                                  "MUR",
                                                  "NOK",
                                                  "SYP",
                                                  "IMP",
                                                  "GIP",
                                                  "RON",
                                                  "LKR",
                                                  "NGN",
                                                  "CRC",
                                                  "CZK",
                                                  "PKR",
                                                  "XCD",
                                                  "ANG",
                                                  "HTG",
                                                  "BHD",
                                                  "KZT",
                                                  "SRD",
                                                  "SZL",
                                                  "LTL",
                                                  "SAR",
                                                  "TTD",
                                                  "YER",
                                                  "MVR",
                                                  "AFN",
                                                  "INR",
                                                  "AWG",
                                                  "KRW",
                                                  "NPR",
                                                  "JPY",
                                                  "MNT",
                                                  "AOA",
                                                  "PLN",
                                                  "GBP",
                                                  "SBD",
                                                  "BYN",
                                                  "HUF",
                                                  "BYR",
                                                  "BIF",
                                                  "MWK",
                                                  "MGA",
                                                  "XDR",
                                                  "BZD",
                                                  "BAM",
                                                  "EGP",
                                                  "MOP",
                                                  "NAD",
                                                  "NIO",
                                                  "PEN",
                                                  "NZD",
                                                  "WST",
                                                  "TMT",
                                                  "BRL"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Type"
                                          },
                                          "model": {
                                            "type": "String",
                                            "annotations": {
                                              "enum": {
                                                "type": "[Ljava.lang.String;",
                                                "values": [
                                                  "SPEND-OVERPAYMENT",
                                                  "AROVERPAYMENT",
                                                  "RECEIVE-OVERPAYMENT"
                                                ]
                                              }
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RemainingCredit"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TotalTax"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Total"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "OverpaymentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RepeatingInvoiceID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IsDiscounted"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasErrors"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Warnings"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalDiscount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "CurrencyRate"
                            },
                            "model": {
                              "type": "Number"
                            }
                          },
                          {
                            "key": {
                              "name": "UpdatedDateUTC"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "BatchPaymentID"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "ValidationErrors"
                            },
                            "model": {
                              "type": "Array",
                              "item": {
                                "type": "Object",
                                "open": {
                                  "type": "Any"
                                },
                                "fields": [
                                  {
                                    "key": {
                                      "name": "Message"
                                    },
                                    "model": {
                                      "type": "String"
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "CreditNote"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountPaid"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountCredited"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNotes"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PlannedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountDue"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ARPREPAYMENT",
                                                                "SPEND-PREPAYMENT",
                                                                "APPREPAYMENT",
                                                                "RECEIVE-PREPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PrepaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ExpectedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "APOVERPAYMENT",
                                                        "ACCREC",
                                                        "AROVERPAYMENT",
                                                        "ARPREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "ACCPAY",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "SPEND-OVERPAYMENT",
                                                                "AROVERPAYMENT",
                                                                "RECEIVE-OVERPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "OverpaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsDiscounted"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalDiscount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "SPEND-OVERPAYMENT",
                                                        "AROVERPAYMENT",
                                                        "RECEIVE-OVERPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "OverpaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "BrandingThemeID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ValidationErrors"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Payments"
                                  },
                                  "model": "#../../.."
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "DueDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "DRAFT",
                                          "PAID",
                                          "SUBMITTED",
                                          "DELETED",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNoteID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CreditNoteNumber"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "StatusAttributeString"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SentToContact"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CISDeduction"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACCPAYCREDIT",
                                          "ACCRECCREDIT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FullyPaidOnDate"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasErrors"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Warnings"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Message"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "PaymentID"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Particulars"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "PaymentType"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "APOVERPAYMENTPAYMENT",
                                    "APCREDITPAYMENT",
                                    "ARCREDITPAYMENT",
                                    "ACCRECPAYMENT",
                                    "AROVERPAYMENTPAYMENT",
                                    "ARPREPAYMENTPAYMENT",
                                    "ACCPAYPAYMENT",
                                    "APPREPAYMENTPAYMENT"
                                  ]
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "HasAccount"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "InvoiceNumber"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Overpayment"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "PAID",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountPaid"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountCredited"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNotes"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BrandingThemeID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DueDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DRAFT",
                                                                "PAID",
                                                                "SUBMITTED",
                                                                "DELETED",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SentToContact"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISDeduction"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACCPAYCREDIT",
                                                                "ACCRECCREDIT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FullyPaidOnDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Warnings"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PlannedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountDue"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ARPREPAYMENT",
                                                                "SPEND-PREPAYMENT",
                                                                "APPREPAYMENT",
                                                                "RECEIVE-PREPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "PrepaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ExpectedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "APOVERPAYMENT",
                                                        "ACCREC",
                                                        "AROVERPAYMENT",
                                                        "ARPREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "ACCPAY",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsDiscounted"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalDiscount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ARPREPAYMENT",
                                                        "SPEND-PREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "RECEIVE-PREPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PrepaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Payments"
                                  },
                                  "model": "#../../.."
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Attachments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "FileName"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ContentLength"
                                          },
                                          "model": {
                                            "type": "Number",
                                            "annotations": {
                                              "int": {}
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IncludeOnline"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AttachmentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Url"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "MimeType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "SPEND-OVERPAYMENT",
                                          "AROVERPAYMENT",
                                          "RECEIVE-OVERPAYMENT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "OverpaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "Status"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "AUTHORISED",
                                    "DELETED"
                                  ]
                                }
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "CreditNoteNumber"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "StatusAttributeString"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Reference"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Amount"
                            },
                            "model": {
                              "type": "Number"
                            }
                          },
                          {
                            "key": {
                              "name": "IsReconciled"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "Code"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Date"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Details"
                            },
                            "model": {
                              "type": "String"
                            }
                          },
                          {
                            "key": {
                              "name": "Prepayment"
                            },
                            "model": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "AUTHORISED",
                                          "PAID",
                                          "VOIDED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineItems"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "ItemCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Description"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Tracking"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "TrackingCategoryID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "TrackingOptionID"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Option"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Name"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "length": {
                                                        "max": 100
                                                      }
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Quantity"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "UnitAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountRate"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "DiscountAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "TaxAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AccountCode"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineAmount"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "RepeatingInvoiceID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "LineItemID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Allocations"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "Invoice",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountPaid"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountCredited"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNotes"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "BrandingThemeID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ValidationErrors"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DueDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "DRAFT",
                                                                "PAID",
                                                                "SUBMITTED",
                                                                "DELETED",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CreditNoteNumber"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "StatusAttributeString"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Reference"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SentToContact"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CISDeduction"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "ACCPAYCREDIT",
                                                                "ACCRECCREDIT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "FullyPaidOnDate"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasErrors"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Warnings"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Message"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PlannedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AmountDue"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "InvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ExpectedPaymentDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "APOVERPAYMENT",
                                                        "ACCREC",
                                                        "AROVERPAYMENT",
                                                        "ARPREPAYMENT",
                                                        "APPREPAYMENT",
                                                        "ACCPAY",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Status"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "AUTHORISED",
                                                                "PAID",
                                                                "VOIDED"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItems"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "ItemCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Description"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Tracking"
                                                                },
                                                                "model": {
                                                                  "type": "Array",
                                                                  "item": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingCategoryID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "TrackingOptionID"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Option"
                                                                        },
                                                                        "model": {
                                                                          "type": "String"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Name"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "length": {
                                                                              "max": 100
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Quantity"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "UnitAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountRate"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "DiscountAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TaxAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AccountCode"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineAmount"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "RepeatingInvoiceID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "LineItemID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Allocations"
                                                        },
                                                        "model": "#../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UpdatedDateUTC"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "HasAttachments"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AppliedAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Payments"
                                                        },
                                                        "model": "#../../../../../../../.."
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "SubTotal"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Attachments"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "FileName"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "ContentLength"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "IncludeOnline"
                                                                },
                                                                "model": {
                                                                  "type": "Boolean"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "AttachmentID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Url"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "MimeType"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Date"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Contact"
                                                        },
                                                        "model": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Discount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UpdatedDateUTC"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Message"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Website"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PaymentTerms"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Sales"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Bills"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Type"
                                                                          },
                                                                          "model": {
                                                                            "type": "String",
                                                                            "annotations": {
                                                                              "enum": {
                                                                                "type": "[Ljava.lang.String;",
                                                                                "values": [
                                                                                  "OFCURRENTMONTH",
                                                                                  "OFFOLLOWINGMONTH",
                                                                                  "DAYSAFTERBILLMONTH",
                                                                                  "DAYSAFTERBILLDATE"
                                                                                ]
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Day"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number",
                                                                            "annotations": {
                                                                              "int": {}
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Attachments"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "FileName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContentLength"
                                                                      },
                                                                      "model": {
                                                                        "type": "Number",
                                                                        "annotations": {
                                                                          "int": {}
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeOnline"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttachmentID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Url"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "MimeType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Addresses"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine3"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine2"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine1"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AttentionTo"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressLine4"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 500
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Region"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PostalCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Country"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "City"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 255
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "AddressType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "POBOX",
                                                                              "STREET"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SalesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsSupplier"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Phones"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneAreaCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 10
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneCountryCode"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 20
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneType"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "OFFICE",
                                                                              "DDI",
                                                                              "FAX",
                                                                              "DEFAULT",
                                                                              "MOBILE"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "PhoneNumber"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 50
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsReceivableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountsPayableTaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BankAccountDetails"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesDefaultAccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BatchPayments"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Details"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Reference"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Code"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 12
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BankAccountNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "BrandingTheme"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "CreatedDateUTC"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "BrandingThemeID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Type"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "INVOICE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LogoUrl"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "SortOrder"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroups"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "Status"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "enum": {
                                                                            "type": "[Ljava.lang.String;",
                                                                            "values": [
                                                                              "ACTIVE",
                                                                              "DELETED"
                                                                            ]
                                                                          }
                                                                        }
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "ContactGroupID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Contacts"
                                                                      },
                                                                      "model": {
                                                                        "type": "Array",
                                                                        "item": "#../../../.."
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IsCustomer"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "StatusAttributeString"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DefaultCurrency"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "",
                                                                      "FJD",
                                                                      "MXN",
                                                                      "SCR",
                                                                      "TVD",
                                                                      "CDF",
                                                                      "BBD",
                                                                      "GTQ",
                                                                      "CLP",
                                                                      "HNL",
                                                                      "UGX",
                                                                      "ZAR",
                                                                      "TND",
                                                                      "STN",
                                                                      "CUC",
                                                                      "BSD",
                                                                      "SLL",
                                                                      "SDG",
                                                                      "IQD",
                                                                      "CUP",
                                                                      "GMD",
                                                                      "TWD",
                                                                      "RSD",
                                                                      "DOP",
                                                                      "KMF",
                                                                      "MYR",
                                                                      "FKP",
                                                                      "XOF",
                                                                      "GEL",
                                                                      "UYU",
                                                                      "MAD",
                                                                      "CVE",
                                                                      "TOP",
                                                                      "AZN",
                                                                      "OMR",
                                                                      "PGK",
                                                                      "KES",
                                                                      "SEK",
                                                                      "BTN",
                                                                      "UAH",
                                                                      "GNF",
                                                                      "ERN",
                                                                      "MZN",
                                                                      "SVC",
                                                                      "ARS",
                                                                      "QAR",
                                                                      "IRR",
                                                                      "CNY",
                                                                      "THB",
                                                                      "UZS",
                                                                      "XPF",
                                                                      "MRU",
                                                                      "BDT",
                                                                      "LYD",
                                                                      "BMD",
                                                                      "KWD",
                                                                      "PHP",
                                                                      "RUB",
                                                                      "PYG",
                                                                      "ISK",
                                                                      "JMD",
                                                                      "COP",
                                                                      "MKD",
                                                                      "USD",
                                                                      "DZD",
                                                                      "PAB",
                                                                      "GGP",
                                                                      "SGD",
                                                                      "ETB",
                                                                      "JEP",
                                                                      "KGS",
                                                                      "SOS",
                                                                      "VEF",
                                                                      "VUV",
                                                                      "LAK",
                                                                      "BND",
                                                                      "ZMK",
                                                                      "XAF",
                                                                      "LRD",
                                                                      "CHF",
                                                                      "HRK",
                                                                      "ALL",
                                                                      "DJF",
                                                                      "ZMW",
                                                                      "TZS",
                                                                      "VND",
                                                                      "SPL",
                                                                      "AUD",
                                                                      "ILS",
                                                                      "GHS",
                                                                      "GYD",
                                                                      "KPW",
                                                                      "BOB",
                                                                      "KHR",
                                                                      "MDL",
                                                                      "IDR",
                                                                      "KYD",
                                                                      "AMD",
                                                                      "BWP",
                                                                      "SHP",
                                                                      "TRY",
                                                                      "LBP",
                                                                      "TJS",
                                                                      "JOD",
                                                                      "AED",
                                                                      "HKD",
                                                                      "RWF",
                                                                      "EUR",
                                                                      "LSL",
                                                                      "DKK",
                                                                      "ZWD",
                                                                      "CAD",
                                                                      "BGN",
                                                                      "MMK",
                                                                      "MUR",
                                                                      "NOK",
                                                                      "SYP",
                                                                      "IMP",
                                                                      "GIP",
                                                                      "RON",
                                                                      "LKR",
                                                                      "NGN",
                                                                      "CRC",
                                                                      "CZK",
                                                                      "PKR",
                                                                      "XCD",
                                                                      "ANG",
                                                                      "HTG",
                                                                      "BHD",
                                                                      "KZT",
                                                                      "SRD",
                                                                      "SZL",
                                                                      "LTL",
                                                                      "SAR",
                                                                      "TTD",
                                                                      "YER",
                                                                      "MVR",
                                                                      "AFN",
                                                                      "INR",
                                                                      "AWG",
                                                                      "KRW",
                                                                      "NPR",
                                                                      "JPY",
                                                                      "MNT",
                                                                      "AOA",
                                                                      "PLN",
                                                                      "GBP",
                                                                      "SBD",
                                                                      "BYN",
                                                                      "HUF",
                                                                      "BYR",
                                                                      "BIF",
                                                                      "MWK",
                                                                      "MGA",
                                                                      "XDR",
                                                                      "BZD",
                                                                      "BAM",
                                                                      "EGP",
                                                                      "MOP",
                                                                      "NAD",
                                                                      "NIO",
                                                                      "PEN",
                                                                      "NZD",
                                                                      "WST",
                                                                      "TMT",
                                                                      "BRL"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "SkypeUserName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasAttachments"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Balances"
                                                              },
                                                              "model": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsPayable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AccountsReceivable"
                                                                    },
                                                                    "model": {
                                                                      "type": "Object",
                                                                      "open": {
                                                                        "type": "Any"
                                                                      },
                                                                      "fields": [
                                                                        {
                                                                          "key": {
                                                                            "name": "Outstanding"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        },
                                                                        {
                                                                          "key": {
                                                                            "name": "Overdue"
                                                                          },
                                                                          "model": {
                                                                            "type": "Number"
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PurchasesTrackingCategories"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryOption"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactPersons"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "IncludeInEmails"
                                                                      },
                                                                      "model": {
                                                                        "type": "Boolean"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "FirstName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "LastName"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "EmailAddress"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactStatus"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "ARCHIVED",
                                                                      "GDPRREQUEST"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "HasValidationErrors"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "XeroNetworkKey"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmountTypes"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "Inclusive",
                                                                "NoTax",
                                                                "Exclusive"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "CurrencyCode"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "",
                                                                "FJD",
                                                                "MXN",
                                                                "SCR",
                                                                "TVD",
                                                                "CDF",
                                                                "BBD",
                                                                "GTQ",
                                                                "CLP",
                                                                "HNL",
                                                                "UGX",
                                                                "ZAR",
                                                                "TND",
                                                                "STN",
                                                                "CUC",
                                                                "BSD",
                                                                "SLL",
                                                                "SDG",
                                                                "IQD",
                                                                "CUP",
                                                                "GMD",
                                                                "TWD",
                                                                "RSD",
                                                                "DOP",
                                                                "KMF",
                                                                "MYR",
                                                                "FKP",
                                                                "XOF",
                                                                "GEL",
                                                                "UYU",
                                                                "MAD",
                                                                "CVE",
                                                                "TOP",
                                                                "AZN",
                                                                "OMR",
                                                                "PGK",
                                                                "KES",
                                                                "SEK",
                                                                "BTN",
                                                                "UAH",
                                                                "GNF",
                                                                "ERN",
                                                                "MZN",
                                                                "SVC",
                                                                "ARS",
                                                                "QAR",
                                                                "IRR",
                                                                "CNY",
                                                                "THB",
                                                                "UZS",
                                                                "XPF",
                                                                "MRU",
                                                                "BDT",
                                                                "LYD",
                                                                "BMD",
                                                                "KWD",
                                                                "PHP",
                                                                "RUB",
                                                                "PYG",
                                                                "ISK",
                                                                "JMD",
                                                                "COP",
                                                                "MKD",
                                                                "USD",
                                                                "DZD",
                                                                "PAB",
                                                                "GGP",
                                                                "SGD",
                                                                "ETB",
                                                                "JEP",
                                                                "KGS",
                                                                "SOS",
                                                                "VEF",
                                                                "VUV",
                                                                "LAK",
                                                                "BND",
                                                                "ZMK",
                                                                "XAF",
                                                                "LRD",
                                                                "CHF",
                                                                "HRK",
                                                                "ALL",
                                                                "DJF",
                                                                "ZMW",
                                                                "TZS",
                                                                "VND",
                                                                "SPL",
                                                                "AUD",
                                                                "ILS",
                                                                "GHS",
                                                                "GYD",
                                                                "KPW",
                                                                "BOB",
                                                                "KHR",
                                                                "MDL",
                                                                "IDR",
                                                                "KYD",
                                                                "AMD",
                                                                "BWP",
                                                                "SHP",
                                                                "TRY",
                                                                "LBP",
                                                                "TJS",
                                                                "JOD",
                                                                "AED",
                                                                "HKD",
                                                                "RWF",
                                                                "EUR",
                                                                "LSL",
                                                                "DKK",
                                                                "ZWD",
                                                                "CAD",
                                                                "BGN",
                                                                "MMK",
                                                                "MUR",
                                                                "NOK",
                                                                "SYP",
                                                                "IMP",
                                                                "GIP",
                                                                "RON",
                                                                "LKR",
                                                                "NGN",
                                                                "CRC",
                                                                "CZK",
                                                                "PKR",
                                                                "XCD",
                                                                "ANG",
                                                                "HTG",
                                                                "BHD",
                                                                "KZT",
                                                                "SRD",
                                                                "SZL",
                                                                "LTL",
                                                                "SAR",
                                                                "TTD",
                                                                "YER",
                                                                "MVR",
                                                                "AFN",
                                                                "INR",
                                                                "AWG",
                                                                "KRW",
                                                                "NPR",
                                                                "JPY",
                                                                "MNT",
                                                                "AOA",
                                                                "PLN",
                                                                "GBP",
                                                                "SBD",
                                                                "BYN",
                                                                "HUF",
                                                                "BYR",
                                                                "BIF",
                                                                "MWK",
                                                                "MGA",
                                                                "XDR",
                                                                "BZD",
                                                                "BAM",
                                                                "EGP",
                                                                "MOP",
                                                                "NAD",
                                                                "NIO",
                                                                "PEN",
                                                                "NZD",
                                                                "WST",
                                                                "TMT",
                                                                "BRL"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Type"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "enum": {
                                                              "type": "[Ljava.lang.String;",
                                                              "values": [
                                                                "SPEND-OVERPAYMENT",
                                                                "AROVERPAYMENT",
                                                                "RECEIVE-OVERPAYMENT"
                                                              ]
                                                            }
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RemainingCredit"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TotalTax"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Total"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "OverpaymentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IsDiscounted"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalDiscount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "StatusAttributeString"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ValidationErrors"
                                          },
                                          "model": {
                                            "type": "Array",
                                            "item": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Message"
                                                  },
                                                  "model": {
                                                    "type": "String"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "CreditNote"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "BrandingThemeID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DueDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "DRAFT",
                                                        "PAID",
                                                        "SUBMITTED",
                                                        "DELETED",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNoteNumber"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Reference"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "SentToContact"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CISDeduction"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACCPAYCREDIT",
                                                        "ACCRECCREDIT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FullyPaidOnDate"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasErrors"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Warnings"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Amount",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "Number"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Prepayment"
                                          },
                                          "model": "#../../.."
                                        },
                                        {
                                          "key": {
                                            "name": "Overpayment"
                                          },
                                          "model": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "AUTHORISED",
                                                        "PAID",
                                                        "VOIDED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItems"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "ItemCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Description"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Tracking"
                                                        },
                                                        "model": {
                                                          "type": "Array",
                                                          "item": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "TrackingCategoryID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "TrackingOptionID"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Option"
                                                                },
                                                                "model": {
                                                                  "type": "String"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Name"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "length": {
                                                                      "max": 100
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Quantity"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "UnitAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountRate"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "DiscountAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TaxAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AccountCode"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineAmount"
                                                        },
                                                        "model": {
                                                          "type": "Number"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "RepeatingInvoiceID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "LineItemID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Allocations"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "UpdatedDateUTC"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "HasAttachments"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AppliedAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Payments"
                                                },
                                                "model": "#../../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "SubTotal"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Attachments"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "FileName"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "ContentLength"
                                                        },
                                                        "model": {
                                                          "type": "Number",
                                                          "annotations": {
                                                            "int": {}
                                                          }
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "IncludeOnline"
                                                        },
                                                        "model": {
                                                          "type": "Boolean"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "AttachmentID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Url"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "MimeType"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contact"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Discount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Website"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PaymentTerms"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Sales"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Bills"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "OFCURRENTMONTH",
                                                                          "OFFOLLOWINGMONTH",
                                                                          "DAYSAFTERBILLMONTH",
                                                                          "DAYSAFTERBILLDATE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Day"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Addresses"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "AddressLine3"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine2"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine1"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttentionTo"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressLine4"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 500
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Region"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PostalCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Country"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "City"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 255
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AddressType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "POBOX",
                                                                      "STREET"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SalesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsSupplier"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Phones"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "PhoneAreaCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 10
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneCountryCode"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 20
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneType"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "OFFICE",
                                                                      "DDI",
                                                                      "FAX",
                                                                      "DEFAULT",
                                                                      "MOBILE"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "PhoneNumber"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 50
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsReceivableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountsPayableTaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BankAccountDetails"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesDefaultAccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BatchPayments"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "BankAccountName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Details"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Reference"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Code"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 12
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingTheme"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "CreatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingThemeID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Type"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "INVOICE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LogoUrl"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SortOrder"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroups"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Status"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "enum": {
                                                                    "type": "[Ljava.lang.String;",
                                                                    "values": [
                                                                      "ACTIVE",
                                                                      "DELETED"
                                                                    ]
                                                                  }
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContactGroupID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Contacts"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": "#../../../.."
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IsCustomer"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DefaultCurrency"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SkypeUserName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Balances"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivable"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Outstanding"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Overdue"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PurchasesTrackingCategories"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryOption"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactPersons"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "IncludeInEmails"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "FirstName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LastName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "EmailAddress"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactStatus"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "ARCHIVED",
                                                              "GDPRREQUEST"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "XeroNetworkKey"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmountTypes"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "Inclusive",
                                                        "NoTax",
                                                        "Exclusive"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CurrencyCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "",
                                                        "FJD",
                                                        "MXN",
                                                        "SCR",
                                                        "TVD",
                                                        "CDF",
                                                        "BBD",
                                                        "GTQ",
                                                        "CLP",
                                                        "HNL",
                                                        "UGX",
                                                        "ZAR",
                                                        "TND",
                                                        "STN",
                                                        "CUC",
                                                        "BSD",
                                                        "SLL",
                                                        "SDG",
                                                        "IQD",
                                                        "CUP",
                                                        "GMD",
                                                        "TWD",
                                                        "RSD",
                                                        "DOP",
                                                        "KMF",
                                                        "MYR",
                                                        "FKP",
                                                        "XOF",
                                                        "GEL",
                                                        "UYU",
                                                        "MAD",
                                                        "CVE",
                                                        "TOP",
                                                        "AZN",
                                                        "OMR",
                                                        "PGK",
                                                        "KES",
                                                        "SEK",
                                                        "BTN",
                                                        "UAH",
                                                        "GNF",
                                                        "ERN",
                                                        "MZN",
                                                        "SVC",
                                                        "ARS",
                                                        "QAR",
                                                        "IRR",
                                                        "CNY",
                                                        "THB",
                                                        "UZS",
                                                        "XPF",
                                                        "MRU",
                                                        "BDT",
                                                        "LYD",
                                                        "BMD",
                                                        "KWD",
                                                        "PHP",
                                                        "RUB",
                                                        "PYG",
                                                        "ISK",
                                                        "JMD",
                                                        "COP",
                                                        "MKD",
                                                        "USD",
                                                        "DZD",
                                                        "PAB",
                                                        "GGP",
                                                        "SGD",
                                                        "ETB",
                                                        "JEP",
                                                        "KGS",
                                                        "SOS",
                                                        "VEF",
                                                        "VUV",
                                                        "LAK",
                                                        "BND",
                                                        "ZMK",
                                                        "XAF",
                                                        "LRD",
                                                        "CHF",
                                                        "HRK",
                                                        "ALL",
                                                        "DJF",
                                                        "ZMW",
                                                        "TZS",
                                                        "VND",
                                                        "SPL",
                                                        "AUD",
                                                        "ILS",
                                                        "GHS",
                                                        "GYD",
                                                        "KPW",
                                                        "BOB",
                                                        "KHR",
                                                        "MDL",
                                                        "IDR",
                                                        "KYD",
                                                        "AMD",
                                                        "BWP",
                                                        "SHP",
                                                        "TRY",
                                                        "LBP",
                                                        "TJS",
                                                        "JOD",
                                                        "AED",
                                                        "HKD",
                                                        "RWF",
                                                        "EUR",
                                                        "LSL",
                                                        "DKK",
                                                        "ZWD",
                                                        "CAD",
                                                        "BGN",
                                                        "MMK",
                                                        "MUR",
                                                        "NOK",
                                                        "SYP",
                                                        "IMP",
                                                        "GIP",
                                                        "RON",
                                                        "LKR",
                                                        "NGN",
                                                        "CRC",
                                                        "CZK",
                                                        "PKR",
                                                        "XCD",
                                                        "ANG",
                                                        "HTG",
                                                        "BHD",
                                                        "KZT",
                                                        "SRD",
                                                        "SZL",
                                                        "LTL",
                                                        "SAR",
                                                        "TTD",
                                                        "YER",
                                                        "MVR",
                                                        "AFN",
                                                        "INR",
                                                        "AWG",
                                                        "KRW",
                                                        "NPR",
                                                        "JPY",
                                                        "MNT",
                                                        "AOA",
                                                        "PLN",
                                                        "GBP",
                                                        "SBD",
                                                        "BYN",
                                                        "HUF",
                                                        "BYR",
                                                        "BIF",
                                                        "MWK",
                                                        "MGA",
                                                        "XDR",
                                                        "BZD",
                                                        "BAM",
                                                        "EGP",
                                                        "MOP",
                                                        "NAD",
                                                        "NIO",
                                                        "PEN",
                                                        "NZD",
                                                        "WST",
                                                        "TMT",
                                                        "BRL"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Type"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "SPEND-OVERPAYMENT",
                                                        "AROVERPAYMENT",
                                                        "RECEIVE-OVERPAYMENT"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RemainingCredit"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TotalTax"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Total"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "OverpaymentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Date",
                                            "required": "true"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "UpdatedDateUTC"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyRate"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Reference"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "HasAttachments"
                                  },
                                  "model": {
                                    "type": "Boolean"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AppliedAmount"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "SubTotal"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Attachments"
                                  },
                                  "model": {
                                    "type": "Array",
                                    "item": {
                                      "type": "Object",
                                      "open": {
                                        "type": "Any"
                                      },
                                      "fields": [
                                        {
                                          "key": {
                                            "name": "FileName"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "ContentLength"
                                          },
                                          "model": {
                                            "type": "Number",
                                            "annotations": {
                                              "int": {}
                                            }
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "IncludeOnline"
                                          },
                                          "model": {
                                            "type": "Boolean"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "AttachmentID"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "Url"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        },
                                        {
                                          "key": {
                                            "name": "MimeType"
                                          },
                                          "model": {
                                            "type": "String"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Date"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contact"
                                  },
                                  "model": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Discount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Website"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PaymentTerms"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Sales"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Bills"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "OFCURRENTMONTH",
                                                            "OFFOLLOWINGMONTH",
                                                            "DAYSAFTERBILLMONTH",
                                                            "DAYSAFTERBILLDATE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Day"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Name"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Addresses"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "AddressLine3"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine2"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine1"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttentionTo"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressLine4"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 500
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Region"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PostalCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Country"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "City"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 255
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AddressType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "POBOX",
                                                        "STREET"
                                                      ]
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SalesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsSupplier"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Phones"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "PhoneAreaCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 10
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneCountryCode"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 20
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneType"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "OFFICE",
                                                        "DDI",
                                                        "FAX",
                                                        "DEFAULT",
                                                        "MOBILE"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "PhoneNumber"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 50
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsReceivableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountsPayableTaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BankAccountDetails"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesDefaultAccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BatchPayments"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BankAccountName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Details"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Code"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 12
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingTheme"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "CreatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "INVOICE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LogoUrl"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SortOrder"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactGroups"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Status"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "enum": {
                                                      "type": "[Ljava.lang.String;",
                                                      "values": [
                                                        "ACTIVE",
                                                        "DELETED"
                                                      ]
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContactGroupID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Contacts"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": "#../../../.."
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IsCustomer"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DefaultCurrency"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FirstName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SkypeUserName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Balances"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AccountsPayable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivable"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Outstanding"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Overdue"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "EmailAddress"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountNumber"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 50
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PurchasesTrackingCategories"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryOption"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactPersons"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "IncludeInEmails"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "FirstName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LastName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "EmailAddress"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContactStatus"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACTIVE",
                                                "ARCHIVED",
                                                "GDPRREQUEST"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LastName"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "length": {
                                              "max": 255
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TrackingCategoryName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasValidationErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "XeroNetworkKey"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LineAmountTypes"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "Inclusive",
                                          "NoTax",
                                          "Exclusive"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "CurrencyCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "",
                                          "FJD",
                                          "MXN",
                                          "SCR",
                                          "TVD",
                                          "CDF",
                                          "BBD",
                                          "GTQ",
                                          "CLP",
                                          "HNL",
                                          "UGX",
                                          "ZAR",
                                          "TND",
                                          "STN",
                                          "CUC",
                                          "BSD",
                                          "SLL",
                                          "SDG",
                                          "IQD",
                                          "CUP",
                                          "GMD",
                                          "TWD",
                                          "RSD",
                                          "DOP",
                                          "KMF",
                                          "MYR",
                                          "FKP",
                                          "XOF",
                                          "GEL",
                                          "UYU",
                                          "MAD",
                                          "CVE",
                                          "TOP",
                                          "AZN",
                                          "OMR",
                                          "PGK",
                                          "KES",
                                          "SEK",
                                          "BTN",
                                          "UAH",
                                          "GNF",
                                          "ERN",
                                          "MZN",
                                          "SVC",
                                          "ARS",
                                          "QAR",
                                          "IRR",
                                          "CNY",
                                          "THB",
                                          "UZS",
                                          "XPF",
                                          "MRU",
                                          "BDT",
                                          "LYD",
                                          "BMD",
                                          "KWD",
                                          "PHP",
                                          "RUB",
                                          "PYG",
                                          "ISK",
                                          "JMD",
                                          "COP",
                                          "MKD",
                                          "USD",
                                          "DZD",
                                          "PAB",
                                          "GGP",
                                          "SGD",
                                          "ETB",
                                          "JEP",
                                          "KGS",
                                          "SOS",
                                          "VEF",
                                          "VUV",
                                          "LAK",
                                          "BND",
                                          "ZMK",
                                          "XAF",
                                          "LRD",
                                          "CHF",
                                          "HRK",
                                          "ALL",
                                          "DJF",
                                          "ZMW",
                                          "TZS",
                                          "VND",
                                          "SPL",
                                          "AUD",
                                          "ILS",
                                          "GHS",
                                          "GYD",
                                          "KPW",
                                          "BOB",
                                          "KHR",
                                          "MDL",
                                          "IDR",
                                          "KYD",
                                          "AMD",
                                          "BWP",
                                          "SHP",
                                          "TRY",
                                          "LBP",
                                          "TJS",
                                          "JOD",
                                          "AED",
                                          "HKD",
                                          "RWF",
                                          "EUR",
                                          "LSL",
                                          "DKK",
                                          "ZWD",
                                          "CAD",
                                          "BGN",
                                          "MMK",
                                          "MUR",
                                          "NOK",
                                          "SYP",
                                          "IMP",
                                          "GIP",
                                          "RON",
                                          "LKR",
                                          "NGN",
                                          "CRC",
                                          "CZK",
                                          "PKR",
                                          "XCD",
                                          "ANG",
                                          "HTG",
                                          "BHD",
                                          "KZT",
                                          "SRD",
                                          "SZL",
                                          "LTL",
                                          "SAR",
                                          "TTD",
                                          "YER",
                                          "MVR",
                                          "AFN",
                                          "INR",
                                          "AWG",
                                          "KRW",
                                          "NPR",
                                          "JPY",
                                          "MNT",
                                          "AOA",
                                          "PLN",
                                          "GBP",
                                          "SBD",
                                          "BYN",
                                          "HUF",
                                          "BYR",
                                          "BIF",
                                          "MWK",
                                          "MGA",
                                          "XDR",
                                          "BZD",
                                          "BAM",
                                          "EGP",
                                          "MOP",
                                          "NAD",
                                          "NIO",
                                          "PEN",
                                          "NZD",
                                          "WST",
                                          "TMT",
                                          "BRL"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Type"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ARPREPAYMENT",
                                          "SPEND-PREPAYMENT",
                                          "APPREPAYMENT",
                                          "RECEIVE-PREPAYMENT"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PrepaymentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "RemainingCredit"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TotalTax"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Total"
                                  },
                                  "model": {
                                    "type": "Number"
                                  }
                                }
                              ]
                            }
                          },
                          {
                            "key": {
                              "name": "HasValidationErrors"
                            },
                            "model": {
                              "type": "Boolean"
                            }
                          },
                          {
                            "key": {
                              "name": "BankAccountNumber"
                            },
                            "model": {
                              "type": "String"
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "Void"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [
            "XERO-ACCOUNTING:NOT_ACCEPTABLE",
            "XERO-ACCOUNTING:BAD_REQUEST",
            "XERO-ACCOUNTING:CLIENT_ERROR",
            "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
            "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
            "XERO-ACCOUNTING:TIMEOUT",
            "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
            "XERO-ACCOUNTING:CONNECTIVITY",
            "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
            "XERO-ACCOUNTING:UNAUTHORIZED",
            "XERO-ACCOUNTING:SERVER_ERROR",
            "XERO-ACCOUNTING:NOT_FOUND"
          ],
          "stereotype": {
            "type": "GET_PAYMENTS",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "where",
                  "displayModel": {
                    "displayName": "where",
                    "summary": "Filter by an element."
                  },
                  "description": "Filter by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4
                  },
                  "allowedStereotypeModels": [],
                  "name": "order",
                  "displayModel": {
                    "displayName": "order",
                    "summary": "Order by an element."
                  },
                  "description": "Order by an element.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "1",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [],
                  "name": "page",
                  "displayModel": {
                    "displayName": "page",
                    "summary": "Up to 100 payments will be returned in a single API call."
                  },
                  "description": "Up to 100 payments will be returned in a single API call.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant"
                  },
                  "description": "Xero identifier for Tenant",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7
                  },
                  "allowedStereotypeModels": [],
                  "name": "ifModifiedSince",
                  "displayModel": {
                    "displayName": "If Modified Since",
                    "summary": "Only records created or modified since this timestamp will be returned."
                  },
                  "description": "Only records created or modified since this timestamp will be returned.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "outputMimeType",
                  "description": "The mime type of the payload that this operation outputs.",
                  "modelProperties": {
                    "sinceMuleVersion": {
                      "version": "4.2.0"
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ObjectStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-iterable"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of instances that will be initially be allowed to be kept in memory in order to consume the stream and provide random access to it. If the stream contains more data than can fit into this buffer, then it will be expanded according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. Default value is 100 instances."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will the buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full. Default value is 100 instances."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "500"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-iterable"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemoryObjects"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "100"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of instances that will be kept in memory. If more than that is required, then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-iterable",
                          "description": {
                            "value": "This configuration allows the stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-object-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "#[null]",
                  "role": "PRIMARY_CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customQueryParams",
                  "displayModel": {
                    "displayName": "Custom Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "classInformation": {
                        "classname": "org.mule.runtime.api.util.MultiMap",
                        "hasDefaultConstructor": true,
                        "isInterface": false,
                        "isInstantiable": true,
                        "isAbstract": false,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Map",
                          "java.io.Serializable"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "java.lang.String",
                          "java.lang.String"
                        ],
                        "isMap": true
                      }
                    },
                    "open": {
                      "type": "String"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "CONTENT",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "customHeaders",
                  "displayModel": {
                    "displayName": "Custom Headers"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Request Parameters",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeout",
                  "displayModel": {
                    "summary": "The timeout for request to the remote service."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Response Timeout}"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.configuration.StreamingType",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "AUTO",
                          "ALWAYS",
                          "NEVER"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": true,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingType",
                  "displayModel": {
                    "summary": "Defines if the request should be sent using streaming. Setting the value to AUTO will automatically define the best strategy based on the request content."
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connector Overrides",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "target",
                  "displayModel": {
                    "displayName": "Target Variable"
                  },
                  "description": "The name of a variable on which the operation\u0027s output will be placed",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "REQUIRED",
                  "defaultValue": "#[payload]",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 15,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "targetValue",
                  "displayModel": {
                    "displayName": "Target Value"
                  },
                  "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": false,
              "name": "Output",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 16,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "getPayments",
          "displayModel": {
            "displayName": "Get Payments",
            "summary": "Retrieves payments for invoices and credit notes."
          },
          "description": "Retrieves payments for invoices and credit notes. This operation makes an HTTP GET request to the /Payments endpoint",
          "modelProperties": {},
          "kind": "operation"
        },
        {
          "blocking": true,
          "executionType": "BLOCKING",
          "output": {
            "type": {
              "format": "java",
              "type": "Void"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "Void"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": false,
          "supportsStreaming": false,
          "notifications": [],
          "nestedComponents": [],
          "errors": [],
          "stereotype": {
            "type": "UNAUTHORIZE",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "PROCESSOR",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "PROCESSOR",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1
                  },
                  "allowedStereotypeModels": [],
                  "name": "resourceOwnerId",
                  "description": "The id of the resource owner which access should be invalidated",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "unauthorize",
          "description": "Deletes all the access token information of a given resource owner id so that it\u0027s impossible to execute any operation for that user without doing the authorization dance again",
          "modelProperties": {},
          "kind": "operation"
        }
      ],
      "connectionProviders": [
        {
          "connectionManagementType": "CACHED",
          "externalLibraryModels": [],
          "supportsConnectivityTesting": false,
          "stereotype": {
            "type": "OAUTH2",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "CONNECTION",
              "namespace": "MULE"
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Array",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.util.List",
                        "hasDefaultConstructor": false,
                        "isInterface": true,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Collection"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.RequestHeader"
                        ],
                        "isMap": false
                      }
                    },
                    "item": {
                      "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.RequestHeader"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "defaultHeaders",
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Array",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.util.List",
                        "hasDefaultConstructor": false,
                        "isInterface": true,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": false,
                        "implementedInterfaces": [
                          "java.util.Collection"
                        ],
                        "parent": "",
                        "genericTypes": [
                          "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.QueryParam"
                        ],
                        "isMap": false
                      }
                    },
                    "item": {
                      "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.QueryParam"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "defaultQueryParams",
                  "displayModel": {
                    "displayName": "Query Parameters"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "30",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "connectionTimeout",
                  "displayModel": {
                    "summary": "The timeout for establishing connections to the remote service"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "SECONDS",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "connectionTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the Connection Timeout"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "true",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "usePersistentConnections",
                  "displayModel": {
                    "summary": "If false, each connection will be closed after the first request is completed."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "-1",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "maxConnections",
                  "displayModel": {
                    "summary": "The maximum number of outbound connections that will be kept open at the same time"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "java.lang.Integer",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": false,
                        "isFinal": true,
                        "implementedInterfaces": [
                          "java.lang.Comparable"
                        ],
                        "parent": "java.lang.Number",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "30",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "connectionIdleTimeout",
                  "displayModel": {
                    "summary": "A timeout for how long a connection can remain idle before it is closed"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "java.util.concurrent.TimeUnit",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "NANOSECONDS",
                          "MICROSECONDS",
                          "MILLISECONDS",
                          "SECONDS",
                          "MINUTES",
                          "HOURS",
                          "DAYS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "SECONDS",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "connectionIdleTimeoutUnit",
                  "displayModel": {
                    "summary": "A time unit which qualifies the connection Idle Timeout"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.proxy.HttpProxyConfig"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 11,
                    "tabName": "Proxy"
                  },
                  "allowedStereotypeModels": [],
                  "name": "proxyConfig",
                  "displayModel": {
                    "summary": "Reusable configuration element for outbound connections through a proxy"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean",
                    "annotations": {
                      "typeId": "boolean"
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "false",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 9,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamResponse",
                  "displayModel": {
                    "summary": "Whether or not received responses should be streamed"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Number",
                    "annotations": {
                      "classInformation": {
                        "classname": "int",
                        "hasDefaultConstructor": false,
                        "isInterface": false,
                        "isInstantiable": false,
                        "isAbstract": true,
                        "isFinal": true,
                        "implementedInterfaces": [],
                        "parent": "",
                        "genericTypes": [],
                        "isMap": false
                      },
                      "int": {}
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "-1",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 10,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "responseBufferSize",
                  "displayModel": {
                    "summary": "The space in bytes for the buffer where the HTTP response will be stored."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "defaultValue": "https://api.xero.com/api.xro/2.0",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 12
                  },
                  "allowedStereotypeModels": [],
                  "name": "baseUri",
                  "displayModel": {
                    "displayName": "Base Uri",
                    "summary": "Parameter base URI, each instance/tenant gets its own"
                  },
                  "description": "",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String",
                    "annotations": {
                      "typeId": "org.mule.runtime.http.api.HttpConstants.Protocol",
                      "enum": {
                        "type": "[Ljava.lang.String;",
                        "values": [
                          "HTTP",
                          "HTTPS"
                        ]
                      }
                    }
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "HTTP",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1,
                    "tabName": "Security"
                  },
                  "allowedStereotypeModels": [],
                  "name": "protocol",
                  "displayModel": {
                    "summary": "Protocol to use for communication. Valid values are HTTP and HTTPS"
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.api.tls.TlsContextFactory",
                      "typeAlias": {
                        "value": "Tls"
                      },
                      "typeDsl": {
                        "allowInlineDefinition": true,
                        "allowTopLevelDefinition": true
                      },
                      "QName": {
                        "value": {
                          "namespaceURI": "http://www.mulesoft.org/schema/mule/tls",
                          "localPart": "context",
                          "prefix": "tls"
                        }
                      }
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "enabledProtocols"
                        },
                        "model": {
                          "type": "String"
                        },
                        "annotations": {
                          "description": {
                            "value": "A comma separated list of protocols enabled for this context."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "enabledCipherSuites"
                        },
                        "model": {
                          "type": "String"
                        },
                        "annotations": {
                          "description": {
                            "value": "A comma separated list of cipher suites enabled for this context."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "trust-store"
                        },
                        "model": {
                          "type": "Object",
                          "annotations": {
                            "typeId": "TrustStore",
                            "description": {
                              "value": "Trust store configuration. If used client side, the trust store contains the certificates of the trusted servers. If used server side, it contains the certificates of the trusted clients."
                            }
                          },
                          "fields": [
                            {
                              "key": {
                                "name": "path"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The location (which will be resolved relative to the current classpath and file system, if possible) of the trust store."
                                },
                                "display": {
                                  "displayModel": {
                                    "pathModel": {
                                      "type": "FILE",
                                      "fileExtensions": [],
                                      "acceptsUrls": false,
                                      "location": "EMBEDDED"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "password"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The password used to protect the trust store."
                                },
                                "layout": {
                                  "layoutModel": {
                                    "password": true,
                                    "text": false,
                                    "query": false
                                  }
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "type"
                              },
                              "model": {
                                "type": "String",
                                "annotations": {
                                  "display": {
                                    "displayModel": {
                                      "example": "jks, jceks, pkcs12 or other store type"
                                    }
                                  }
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "The type of store used."
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "algorithm"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The algorithm used by the trust store."
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "insecure"
                              },
                              "model": {
                                "type": "Boolean",
                                "annotations": {
                                  "default": "false"
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "If true, no certificate validations will be performed, rendering connections vulnerable to attacks. Use at your own risk."
                                }
                              }
                            }
                          ]
                        },
                        "annotations": {
                          "parameterDsl": {
                            "allowInlineDefinition": true,
                            "allowReferences": false
                          },
                          "expressionSupport": {
                            "value": "NOT_SUPPORTED"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "key-store"
                        },
                        "model": {
                          "type": "Object",
                          "annotations": {
                            "typeId": "KeyStore",
                            "description": {
                              "value": "Key store configuration. The key store contains the keys of this server/client."
                            }
                          },
                          "fields": [
                            {
                              "key": {
                                "name": "path"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The location (which will be resolved relative to the current classpath and file system, if possible) of the key store."
                                },
                                "display": {
                                  "displayModel": {
                                    "pathModel": {
                                      "type": "FILE",
                                      "fileExtensions": [],
                                      "acceptsUrls": false,
                                      "location": "EMBEDDED"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "type"
                              },
                              "model": {
                                "type": "String",
                                "annotations": {
                                  "display": {
                                    "displayModel": {
                                      "example": "jks, jceks, pkcs12 or other store type"
                                    }
                                  }
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "The type of store used."
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "alias"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "When the key store contains many private keys, this attribute indicates the alias of the key that should be used. If not defined, the first key in the file will be used by default."
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "keyPassword"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The password used to protect the private key."
                                },
                                "layout": {
                                  "layoutModel": {
                                    "password": true,
                                    "text": false,
                                    "query": false
                                  }
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "password"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The password used to protect the key store."
                                },
                                "layout": {
                                  "layoutModel": {
                                    "password": true,
                                    "text": false,
                                    "query": false
                                  }
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "algorithm"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "The algorithm used by the key store."
                                }
                              }
                            }
                          ]
                        },
                        "annotations": {
                          "parameterDsl": {
                            "allowInlineDefinition": true,
                            "allowReferences": false
                          },
                          "expressionSupport": {
                            "value": "NOT_SUPPORTED"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "revocation-check"
                        },
                        "model": {
                          "type": "Union",
                          "annotations": {
                            "typeId": "RevocationCheck"
                          },
                          "of": [
                            {
                              "type": "Object",
                              "annotations": {
                                "typeId": "standard-revocation-check",
                                "description": {
                                  "value": "Uses the standard JVM certificate revocation checks, which depend on the certificate having the corresponding extension points (additional tags for CRLDP or OCSP), and the availability of revocation servers."
                                }
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "onlyEndEntities"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "false"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "Only verify the last element of the certificate chain."
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "preferCrls"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "false"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "Try CRL instead of OCSP first."
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "noFallback"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "false"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "Do not use the secondary checking method (the one not selected before)."
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "softFail"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "false"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "Avoid verification failure when the revocation server can not be reached or is busy."
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "Object",
                              "annotations": {
                                "typeId": "custom-ocsp-responder",
                                "description": {
                                  "value": "Uses a custom OCSP responder for certificate revocation checks, with a specific trusted certificate for revocating other keys. This ignores extension points (additional tags for CRLDP or OCSP) present in the certificate, if any."
                                }
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "url"
                                  },
                                  "model": {
                                    "type": "String"
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "The URL of the OCSP responder."
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "certAlias"
                                  },
                                  "model": {
                                    "type": "String"
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "Alias of the signing certificate for the OCSP response (must be in the trust store), if present."
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "Object",
                              "annotations": {
                                "typeId": "crl-file",
                                "description": {
                                  "value": "Local file based certificate revocation checker, which requires a CRL file to be accessible and ignores extension points (additional tags for CRLDP and OCSP) in the certificate."
                                }
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "path"
                                  },
                                  "model": {
                                    "type": "String"
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "The path to the CRL file."
                                    }
                                  }
                                }
                              ]
                            }
                          ]
                        },
                        "annotations": {
                          "parameterDsl": {
                            "allowInlineDefinition": true,
                            "allowReferences": false
                          },
                          "expressionSupport": {
                            "value": "NOT_SUPPORTED"
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": true
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2,
                    "tabName": "Security"
                  },
                  "allowedStereotypeModels": [],
                  "name": "tlsContext",
                  "displayModel": {
                    "displayName": "TLS Configuration"
                  },
                  "description": "",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 8
                    },
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/tls",
                        "localPart": "context",
                        "prefix": "tls"
                      }
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "tls",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "Reconnection"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "failsDeployment"
                        },
                        "model": {
                          "type": "Boolean",
                          "annotations": {
                            "default": "false"
                          }
                        },
                        "annotations": {
                          "description": {
                            "value": "When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment will fail if the test doesn\u0027t pass after exhausting the associated reconnection strategy"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "reconnectionStrategy"
                        },
                        "model": {
                          "type": "Union",
                          "annotations": {
                            "typeId": "ReconnectionStrategy"
                          },
                          "of": [
                            {
                              "type": "Object",
                              "annotations": {
                                "typeId": "reconnect"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "frequency"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {},
                                      "classInformation": {
                                        "classname": "java.lang.Long",
                                        "hasDefaultConstructor": false,
                                        "isInterface": false,
                                        "isInstantiable": false,
                                        "isAbstract": false,
                                        "isFinal": true,
                                        "implementedInterfaces": [
                                          "java.lang.Comparable"
                                        ],
                                        "parent": "java.lang.Number",
                                        "genericTypes": [],
                                        "isMap": false
                                      },
                                      "default": "2000"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "How often (in ms) to reconnect"
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "blocking"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "true"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "count"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {},
                                      "default": "2"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "How many reconnection attempts to make"
                                    }
                                  }
                                }
                              ]
                            },
                            {
                              "type": "Object",
                              "annotations": {
                                "typeId": "reconnect-forever"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "frequency"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {},
                                      "classInformation": {
                                        "classname": "java.lang.Long",
                                        "hasDefaultConstructor": false,
                                        "isInterface": false,
                                        "isInstantiable": false,
                                        "isAbstract": false,
                                        "isFinal": true,
                                        "implementedInterfaces": [
                                          "java.lang.Comparable"
                                        ],
                                        "parent": "java.lang.Number",
                                        "genericTypes": [],
                                        "isMap": false
                                      },
                                      "default": "2000"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "How often (in ms) to reconnect"
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "blocking"
                                  },
                                  "model": {
                                    "type": "Boolean",
                                    "annotations": {
                                      "default": "true"
                                    }
                                  },
                                  "annotations": {
                                    "description": {
                                      "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                                    }
                                  }
                                }
                              ]
                            }
                          ]
                        },
                        "annotations": {
                          "description": {
                            "value": "The reconnection strategy to use"
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 13,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnection",
                  "description": "When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment will fail if the test doesn\u0027t pass after exhausting the associated reconnection strategy",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "reconnection",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 14
                  },
                  "allowedStereotypeModels": [],
                  "name": "consumerKey",
                  "description": "The OAuth consumerKey as registered with the service provider",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 15
                  },
                  "allowedStereotypeModels": [],
                  "name": "consumerSecret",
                  "description": "The OAuth consumerSecret as registered with the service provider",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "https://login.xero.com/identity/connect/authorize",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 16
                  },
                  "allowedStereotypeModels": [],
                  "name": "authorizationUrl",
                  "description": "The service provider\u0027s authorization endpoint URL",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "https://identity.xero.com/connect/token",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 17
                  },
                  "allowedStereotypeModels": [],
                  "name": "accessTokenUrl",
                  "description": "The service provider\u0027s accessToken endpoint URL",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": "email openid profile accounting.transactions accounting.transactions.read accounting.reports.read accounting.reports.tenninetynine.read accounting.journals.read accounting.settings accounting.settings.read accounting.contacts accounting.contacts.read accounting.attachments accounting.attachments.read assets assets.read bankfeeds files files.read payroll payroll.read payroll.employees payroll.employees.read payroll.leaveapplications payroll.leaveapplications.read payroll.payitems payroll.payitems.read payroll.payrollcalendars payroll.payrollcalendars.read payroll.payruns payroll.payruns.read payroll.payslip payroll.payslip.read payroll.settings.read payroll.superfunds payroll.superfunds.read payroll.superfundproducts.read payroll.timesheets payroll.timesheets.read paymentservices projects projects.read",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 18
                  },
                  "allowedStereotypeModels": [],
                  "name": "scopes",
                  "description": "The OAuth scopes to be requested during the dance. If not provided, it will default to those in the annotation",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 19
                  },
                  "allowedStereotypeModels": [],
                  "name": "resourceOwnerId",
                  "description": "The resourceOwnerId which each component should use if it doesn\u0027t reference otherwise.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 20
                  },
                  "allowedStereotypeModels": [],
                  "name": "before",
                  "description": "The name of a flow to be executed right before starting the OAuth dance",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 21
                  },
                  "allowedStereotypeModels": [],
                  "name": "after",
                  "description": "The name of a flow to be executed right after an accessToken has been received",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4
              },
              "showInDsl": true,
              "name": "oauthAuthorizationCode",
              "displayModel": {
                "displayName": "OAuth Authorization Code"
              },
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 22
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "LISTENER_CONFIG",
                      "namespace": "HTTP",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "listenerConfig",
                  "description": "A reference to a \u003chttp:listener-config /\u003e to be used in order to create the listener that will catch the access token callback endpoint.",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 23
                  },
                  "allowedStereotypeModels": [],
                  "name": "callbackPath",
                  "description": "The path of the access token callback endpoint",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 24
                  },
                  "allowedStereotypeModels": [],
                  "name": "authorizePath",
                  "description": "The path of the local http endpoint which triggers the OAuth dance",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 25
                  },
                  "allowedStereotypeModels": [],
                  "name": "externalCallbackUrl",
                  "description": "If the callback endpoint is behind a proxy or should be accessed through a non direct URL, use this parameter to tell the OAuth provider the URL it should use to access the callback",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 5
              },
              "showInDsl": true,
              "name": "oauthCallbackConfig",
              "displayModel": {
                "displayName": "OAuth Callback Config"
              },
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 26
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "OBJECT_STORE",
                      "namespace": "OS"
                    }
                  ],
                  "name": "objectStore",
                  "description": "A reference to the object store that should be used to store each resource owner id\u0027s data. If not specified, runtime will automatically provision the default one.",
                  "modelProperties": {}
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 6
              },
              "showInDsl": true,
              "name": "oauthStoreConfig",
              "displayModel": {
                "displayName": "OAuth Store Config"
              },
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "oauth2",
          "displayModel": {
            "displayName": "Oauth2 Connection Provider"
          },
          "description": "",
          "modelProperties": {
            "OAuth": {
              "grantTypes": [
                {
                  "grantType": "Authorization Code",
                  "accessTokenUrl": "https://identity.xero.com/connect/token",
                  "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
                  "accessTokenExpr": "#[payload.access_token]",
                  "expirationRegex": "#[payload.expires_in]",
                  "refreshTokenExpr": "#[payload.refresh_token]",
                  "defaultScope": "email openid profile accounting.transactions accounting.transactions.read accounting.reports.read accounting.reports.tenninetynine.read accounting.journals.read accounting.settings accounting.settings.read accounting.contacts accounting.contacts.read accounting.attachments accounting.attachments.read assets assets.read bankfeeds files files.read payroll payroll.read payroll.employees payroll.employees.read payroll.leaveapplications payroll.leaveapplications.read payroll.payitems payroll.payitems.read payroll.payrollcalendars payroll.payrollcalendars.read payroll.payruns payroll.payruns.read payroll.payslip payroll.payslip.read payroll.settings.read payroll.superfunds payroll.superfunds.read payroll.superfundproducts.read payroll.timesheets payroll.timesheets.read paymentservices projects projects.read"
                }
              ]
            }
          }
        }
      ],
      "messageSources": [
        {
          "hasResponse": false,
          "runsOnPrimaryNodeOnly": false,
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Contacts"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "Discount"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Website"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PaymentTerms"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Sales"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "Bills"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Type"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "OFCURRENTMONTH",
                                              "OFFOLLOWINGMONTH",
                                              "DAYSAFTERBILLMONTH",
                                              "DAYSAFTERBILLDATE"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Day"
                                      },
                                      "model": {
                                        "type": "Number",
                                        "annotations": {
                                          "int": {}
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Attachments"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "FileName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContentLength"
                                  },
                                  "model": {
                                    "type": "Number",
                                    "annotations": {
                                      "int": {}
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "IncludeOnline"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttachmentID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Url"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "MimeType"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "Addresses"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "AddressLine3"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine2"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine1"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AttentionTo"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressLine4"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 500
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Region"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PostalCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Country"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "City"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 255
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "AddressType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "POBOX",
                                          "STREET"
                                        ]
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SalesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "IsSupplier"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Phones"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "PhoneAreaCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 10
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneCountryCode"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 20
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneType"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "OFFICE",
                                          "DDI",
                                          "FAX",
                                          "DEFAULT",
                                          "MOBILE"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "PhoneNumber"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "length": {
                                        "max": 50
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsReceivableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "AccountsPayableTaxType"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BankAccountDetails"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesDefaultAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BatchPayments"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "BankAccountName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Details"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Code"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 12
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountNumber"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TaxNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "BrandingTheme"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "CreatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "INVOICE"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LogoUrl"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "SortOrder"
                                },
                                "model": {
                                  "type": "Number",
                                  "annotations": {
                                    "int": {}
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactGroups"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Status"
                                  },
                                  "model": {
                                    "type": "String",
                                    "annotations": {
                                      "enum": {
                                        "type": "[Ljava.lang.String;",
                                        "values": [
                                          "ACTIVE",
                                          "DELETED"
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "key": {
                                    "name": "ContactGroupID"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "Contacts"
                                  },
                                  "model": "#../../../.."
                                },
                                {
                                  "key": {
                                    "name": "Name"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsCustomer"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "DefaultCurrency"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "",
                                  "FJD",
                                  "MXN",
                                  "SCR",
                                  "TVD",
                                  "CDF",
                                  "BBD",
                                  "GTQ",
                                  "CLP",
                                  "HNL",
                                  "UGX",
                                  "ZAR",
                                  "TND",
                                  "STN",
                                  "CUC",
                                  "BSD",
                                  "SLL",
                                  "SDG",
                                  "IQD",
                                  "CUP",
                                  "GMD",
                                  "TWD",
                                  "RSD",
                                  "DOP",
                                  "KMF",
                                  "MYR",
                                  "FKP",
                                  "XOF",
                                  "GEL",
                                  "UYU",
                                  "MAD",
                                  "CVE",
                                  "TOP",
                                  "AZN",
                                  "OMR",
                                  "PGK",
                                  "KES",
                                  "SEK",
                                  "BTN",
                                  "UAH",
                                  "GNF",
                                  "ERN",
                                  "MZN",
                                  "SVC",
                                  "ARS",
                                  "QAR",
                                  "IRR",
                                  "CNY",
                                  "THB",
                                  "UZS",
                                  "XPF",
                                  "MRU",
                                  "BDT",
                                  "LYD",
                                  "BMD",
                                  "KWD",
                                  "PHP",
                                  "RUB",
                                  "PYG",
                                  "ISK",
                                  "JMD",
                                  "COP",
                                  "MKD",
                                  "USD",
                                  "DZD",
                                  "PAB",
                                  "GGP",
                                  "SGD",
                                  "ETB",
                                  "JEP",
                                  "KGS",
                                  "SOS",
                                  "VEF",
                                  "VUV",
                                  "LAK",
                                  "BND",
                                  "ZMK",
                                  "XAF",
                                  "LRD",
                                  "CHF",
                                  "HRK",
                                  "ALL",
                                  "DJF",
                                  "ZMW",
                                  "TZS",
                                  "VND",
                                  "SPL",
                                  "AUD",
                                  "ILS",
                                  "GHS",
                                  "GYD",
                                  "KPW",
                                  "BOB",
                                  "KHR",
                                  "MDL",
                                  "IDR",
                                  "KYD",
                                  "AMD",
                                  "BWP",
                                  "SHP",
                                  "TRY",
                                  "LBP",
                                  "TJS",
                                  "JOD",
                                  "AED",
                                  "HKD",
                                  "RWF",
                                  "EUR",
                                  "LSL",
                                  "DKK",
                                  "ZWD",
                                  "CAD",
                                  "BGN",
                                  "MMK",
                                  "MUR",
                                  "NOK",
                                  "SYP",
                                  "IMP",
                                  "GIP",
                                  "RON",
                                  "LKR",
                                  "NGN",
                                  "CRC",
                                  "CZK",
                                  "PKR",
                                  "XCD",
                                  "ANG",
                                  "HTG",
                                  "BHD",
                                  "KZT",
                                  "SRD",
                                  "SZL",
                                  "LTL",
                                  "SAR",
                                  "TTD",
                                  "YER",
                                  "MVR",
                                  "AFN",
                                  "INR",
                                  "AWG",
                                  "KRW",
                                  "NPR",
                                  "JPY",
                                  "MNT",
                                  "AOA",
                                  "PLN",
                                  "GBP",
                                  "SBD",
                                  "BYN",
                                  "HUF",
                                  "BYR",
                                  "BIF",
                                  "MWK",
                                  "MGA",
                                  "XDR",
                                  "BZD",
                                  "BAM",
                                  "EGP",
                                  "MOP",
                                  "NAD",
                                  "NIO",
                                  "PEN",
                                  "NZD",
                                  "WST",
                                  "TMT",
                                  "BRL"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "FirstName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "SkypeUserName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasAttachments"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Balances"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "AccountsPayable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountsReceivable"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Outstanding"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Overdue"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "ContactID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "EmailAddress"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "AccountNumber"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchasesTrackingCategories"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "TrackingCategoryName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "TrackingOptionName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryOption"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ContactPersons"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "IncludeInEmails"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "FirstName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "LastName"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                },
                                {
                                  "key": {
                                    "name": "EmailAddress"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "ContactStatus"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "ACTIVE",
                                  "ARCHIVED",
                                  "GDPRREQUEST"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "LastName"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 255
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TrackingCategoryName"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "HasValidationErrors"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "XeroNetworkKey"
                          },
                          "model": {
                            "type": "String"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [],
          "stereotype": {
            "type": "ON_NEW_OR_UPDATED_CONTACT_TRIGGER",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "SOURCE",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "SOURCE",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1
                  },
                  "allowedStereotypeModels": [],
                  "name": "modifiedSince",
                  "displayModel": {
                    "displayName": "Modified Since",
                    "summary": "Retrieve records starting at this point in time."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": false,
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "primaryNodeOnly",
                  "description": "Whether this source should only be executed on the primary node when runnning in Cluster",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "@ref:org.mule.runtime.core.api.source.scheduler.Scheduler"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "schedulingStrategy",
                  "description": "Configures the scheduler that triggers the polling",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 10
                    },
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "scheduling-strategy",
                        "prefix": "mule"
                      }
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "RedeliveryPolicy"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "maxRedeliveryCount"
                        },
                        "model": {
                          "type": "Number",
                          "annotations": {
                            "int": {},
                            "default": "5"
                          }
                        },
                        "annotations": {
                          "description": {
                            "value": "The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "messageDigestAlgorithm"
                        },
                        "model": {
                          "type": "String"
                        },
                        "annotations": {
                          "description": {
                            "value": "The secure hashing algorithm to use. If not set, the default is SHA-256."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "MessageIdentifier"
                        },
                        "model": {
                          "type": "Object",
                          "annotations": {
                            "typeId": "RedeliveryPolicyMessageIdentifier",
                            "exclusiveOptionals": {
                              "exclusiveParameterNames": [
                                "useSecureHash",
                                "idExpression"
                              ],
                              "isOneRequired": true
                            }
                          },
                          "fields": [
                            {
                              "key": {
                                "name": "useSecureHash"
                              },
                              "model": {
                                "type": "Boolean",
                                "annotations": {
                                  "default": "true"
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "Whether to use a secure hash algorithm to identify a redelivered message"
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "idExpression"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "Defines one or more expressions to use to determine when a message has been redelivered. This property may only be set if useSecureHash is false."
                                }
                              }
                            }
                          ]
                        },
                        "annotations": {
                          "flattened": {},
                          "description": {
                            "value": "Defines which strategy is used to identify the messages."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "objectStore"
                        },
                        "model": {
                          "type": "@ref:org.mule.runtime.api.store.ObjectStore"
                        },
                        "annotations": {
                          "stereotype": {
                            "allowedStereotypes": [
                              {
                                "type": "OBJECT_STORE",
                                "namespace": "OS"
                              }
                            ]
                          },
                          "description": {
                            "value": "The object store where the redelivery counter for each message is going to be stored."
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6,
                    "tabName": "Redelivery"
                  },
                  "allowedStereotypeModels": [],
                  "name": "redeliveryPolicy",
                  "description": "Defines a policy for processing the redelivery of the same message",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-redelivery-policy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 1
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "OnNewOrUpdatedContactTrigger",
          "description": "",
          "modelProperties": {},
          "kind": "source"
        },
        {
          "hasResponse": false,
          "runsOnPrimaryNodeOnly": false,
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Items"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "SalesDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Description"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsPurchased"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "IsTrackedAsInventory"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "InventoryAssetAccountCode"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "QuantityOnHand"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "Code",
                            "required": "true"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 30
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDescription"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 4000
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "TotalCostPool"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "ItemID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Name"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "length": {
                                "max": 50
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "IsSold"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "PurchaseDetails"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UnitPrice"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "COGSAccountCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [],
          "stereotype": {
            "type": "ON_NEW_OR_UPDATED_ITEMS_TRIGGER",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "SOURCE",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "SOURCE",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1
                  },
                  "allowedStereotypeModels": [],
                  "name": "modifiedSince",
                  "displayModel": {
                    "displayName": "Modified Since",
                    "summary": "Retrieve records starting at this point in time."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": false,
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "primaryNodeOnly",
                  "description": "Whether this source should only be executed on the primary node when runnning in Cluster",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "@ref:org.mule.runtime.core.api.source.scheduler.Scheduler"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "schedulingStrategy",
                  "description": "Configures the scheduler that triggers the polling",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 10
                    },
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "scheduling-strategy",
                        "prefix": "mule"
                      }
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "RedeliveryPolicy"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "maxRedeliveryCount"
                        },
                        "model": {
                          "type": "Number",
                          "annotations": {
                            "int": {},
                            "default": "5"
                          }
                        },
                        "annotations": {
                          "description": {
                            "value": "The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "messageDigestAlgorithm"
                        },
                        "model": {
                          "type": "String"
                        },
                        "annotations": {
                          "description": {
                            "value": "The secure hashing algorithm to use. If not set, the default is SHA-256."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "MessageIdentifier"
                        },
                        "model": {
                          "type": "Object",
                          "annotations": {
                            "typeId": "RedeliveryPolicyMessageIdentifier",
                            "exclusiveOptionals": {
                              "exclusiveParameterNames": [
                                "useSecureHash",
                                "idExpression"
                              ],
                              "isOneRequired": true
                            }
                          },
                          "fields": [
                            {
                              "key": {
                                "name": "useSecureHash"
                              },
                              "model": {
                                "type": "Boolean",
                                "annotations": {
                                  "default": "true"
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "Whether to use a secure hash algorithm to identify a redelivered message"
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "idExpression"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "Defines one or more expressions to use to determine when a message has been redelivered. This property may only be set if useSecureHash is false."
                                }
                              }
                            }
                          ]
                        },
                        "annotations": {
                          "flattened": {},
                          "description": {
                            "value": "Defines which strategy is used to identify the messages."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "objectStore"
                        },
                        "model": {
                          "type": "@ref:org.mule.runtime.api.store.ObjectStore"
                        },
                        "annotations": {
                          "stereotype": {
                            "allowedStereotypes": [
                              {
                                "type": "OBJECT_STORE",
                                "namespace": "OS"
                              }
                            ]
                          },
                          "description": {
                            "value": "The object store where the redelivery counter for each message is going to be stored."
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6,
                    "tabName": "Redelivery"
                  },
                  "allowedStereotypeModels": [],
                  "name": "redeliveryPolicy",
                  "description": "Defines a policy for processing the redelivery of the same message",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-redelivery-policy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 1
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "OnNewOrUpdatedItemsTrigger",
          "description": "",
          "modelProperties": {},
          "kind": "source"
        },
        {
          "hasResponse": false,
          "runsOnPrimaryNodeOnly": false,
          "output": {
            "type": {
              "format": "json",
              "type": "Object",
              "annotations": {
                "classInformation": {
                  "classname": "java.io.InputStream",
                  "hasDefaultConstructor": true,
                  "isInterface": false,
                  "isInstantiable": false,
                  "isAbstract": true,
                  "isFinal": false,
                  "implementedInterfaces": [
                    "java.io.Closeable"
                  ],
                  "parent": "",
                  "genericTypes": [],
                  "isMap": false
                }
              },
              "open": {
                "type": "Any"
              },
              "fields": [
                {
                  "key": {
                    "name": "Payments"
                  },
                  "model": {
                    "type": "Array",
                    "item": {
                      "type": "Object",
                      "open": {
                        "type": "Any"
                      },
                      "fields": [
                        {
                          "key": {
                            "name": "Account"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACTIVE",
                                        "ARCHIVED",
                                        "DELETED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AccountID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Description"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "ShowInExpenseClaims"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Code"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Name"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 150
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "ReportingCodeName"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "TaxType"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "EnablePaymentsToAccount"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "OTHERINCOME",
                                        "BANK",
                                        "CURRLIAB",
                                        "SUPERANNUATIONEXPENSE",
                                        "REVENUE",
                                        "DIRECTCOSTS",
                                        "SUPERANNUATIONLIABILITY",
                                        "FIXED",
                                        "LIABILITY",
                                        "OVERHEADS",
                                        "CURRENT",
                                        "WAGESEXPENSE",
                                        "DEPRECIATN",
                                        "INVENTORY",
                                        "PREPAYMENT",
                                        "TERMLIAB",
                                        "EXPENSE",
                                        "PAYG",
                                        "SALES",
                                        "NONCURRENT",
                                        "EQUITY",
                                        "PAYGLIABILITY"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountType"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "BANK",
                                        "PAYPAL",
                                        "CREDITCARD",
                                        "NONE"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AddToWatchlist"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Class"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "REVENUE",
                                        "EXPENSE",
                                        "LIABILITY",
                                        "ASSET",
                                        "EQUITY"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BankAccountNumber"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ReportingCode"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "SystemAccount"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "HISTORICAL",
                                        "CISLIABILITY",
                                        "GST",
                                        "REALISEDCURRENCYGAIN",
                                        "CISMATERIALS",
                                        "CISLABOUR",
                                        "CISLABOUREXPENSE",
                                        "UNREALISEDCURRENCYGAIN",
                                        "GSTONIMPORTS",
                                        "CISASSET",
                                        "DEBTORS",
                                        "TRACKINGTRANSFERS",
                                        "CISLABOURINCOME",
                                        "RETAINEDEARNINGS",
                                        "BANKCURRENCYGAIN",
                                        "ROUNDING",
                                        "CISASSETS",
                                        "CREDITORS",
                                        "UNPAIDEXPCLM",
                                        "WAGEPAYABLES"
                                      ]
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Invoice"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountPaid"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountCredited"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Payments"
                                },
                                "model": "#../../.."
                              },
                              {
                                "key": {
                                  "name": "CreditNotes"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "BrandingThemeID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": "#../../../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DueDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "DRAFT",
                                                "PAID",
                                                "SUBMITTED",
                                                "DELETED",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNoteNumber"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SentToContact"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CISDeduction"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ACCPAYCREDIT",
                                                "ACCRECCREDIT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "FullyPaidOnDate"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasErrors"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Warnings"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SubTotal"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Url"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PlannedPaymentDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalTax"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "InvoiceNumber"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "length": {
                                      "max": 255
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "DueDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "AUTHORISED",
                                        "DRAFT",
                                        "PAID",
                                        "SUBMITTED",
                                        "DELETED",
                                        "VOIDED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LineItems"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "ItemCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Tracking"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Option"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 100
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Quantity"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UnitAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RepeatingInvoiceID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItemID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "AmountDue"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CISRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Prepayments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Reference"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "ARPREPAYMENT",
                                                "SPEND-PREPAYMENT",
                                                "APPREPAYMENT",
                                                "RECEIVE-PREPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "PrepaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "SentToContact"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "InvoiceID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Date"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Contact"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Discount"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UpdatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ValidationErrors"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Message"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Website"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PaymentTerms"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Sales"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Bills"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Attachments"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "FileName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContentLength"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IncludeOnline"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttachmentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "MimeType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Addresses"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AddressLine3"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine2"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine1"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttentionTo"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine4"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Region"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PostalCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Country"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "City"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "POBOX",
                                                      "STREET"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsSupplier"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Phones"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "PhoneAreaCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 10
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneCountryCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 20
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OFFICE",
                                                      "DDI",
                                                      "FAX",
                                                      "DEFAULT",
                                                      "MOBILE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsPayableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountDetails"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BatchPayments"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "BankAccountName"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Details"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Reference"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Code"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BankAccountNumber"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TaxNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingTheme"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "CreatedDateUTC"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BrandingThemeID"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "INVOICE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "LogoUrl"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "SortOrder"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Name"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactGroups"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroupID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contacts"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsCustomer"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "StatusAttributeString"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "DefaultCurrency"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "",
                                              "FJD",
                                              "MXN",
                                              "SCR",
                                              "TVD",
                                              "CDF",
                                              "BBD",
                                              "GTQ",
                                              "CLP",
                                              "HNL",
                                              "UGX",
                                              "ZAR",
                                              "TND",
                                              "STN",
                                              "CUC",
                                              "BSD",
                                              "SLL",
                                              "SDG",
                                              "IQD",
                                              "CUP",
                                              "GMD",
                                              "TWD",
                                              "RSD",
                                              "DOP",
                                              "KMF",
                                              "MYR",
                                              "FKP",
                                              "XOF",
                                              "GEL",
                                              "UYU",
                                              "MAD",
                                              "CVE",
                                              "TOP",
                                              "AZN",
                                              "OMR",
                                              "PGK",
                                              "KES",
                                              "SEK",
                                              "BTN",
                                              "UAH",
                                              "GNF",
                                              "ERN",
                                              "MZN",
                                              "SVC",
                                              "ARS",
                                              "QAR",
                                              "IRR",
                                              "CNY",
                                              "THB",
                                              "UZS",
                                              "XPF",
                                              "MRU",
                                              "BDT",
                                              "LYD",
                                              "BMD",
                                              "KWD",
                                              "PHP",
                                              "RUB",
                                              "PYG",
                                              "ISK",
                                              "JMD",
                                              "COP",
                                              "MKD",
                                              "USD",
                                              "DZD",
                                              "PAB",
                                              "GGP",
                                              "SGD",
                                              "ETB",
                                              "JEP",
                                              "KGS",
                                              "SOS",
                                              "VEF",
                                              "VUV",
                                              "LAK",
                                              "BND",
                                              "ZMK",
                                              "XAF",
                                              "LRD",
                                              "CHF",
                                              "HRK",
                                              "ALL",
                                              "DJF",
                                              "ZMW",
                                              "TZS",
                                              "VND",
                                              "SPL",
                                              "AUD",
                                              "ILS",
                                              "GHS",
                                              "GYD",
                                              "KPW",
                                              "BOB",
                                              "KHR",
                                              "MDL",
                                              "IDR",
                                              "KYD",
                                              "AMD",
                                              "BWP",
                                              "SHP",
                                              "TRY",
                                              "LBP",
                                              "TJS",
                                              "JOD",
                                              "AED",
                                              "HKD",
                                              "RWF",
                                              "EUR",
                                              "LSL",
                                              "DKK",
                                              "ZWD",
                                              "CAD",
                                              "BGN",
                                              "MMK",
                                              "MUR",
                                              "NOK",
                                              "SYP",
                                              "IMP",
                                              "GIP",
                                              "RON",
                                              "LKR",
                                              "NGN",
                                              "CRC",
                                              "CZK",
                                              "PKR",
                                              "XCD",
                                              "ANG",
                                              "HTG",
                                              "BHD",
                                              "KZT",
                                              "SRD",
                                              "SZL",
                                              "LTL",
                                              "SAR",
                                              "TTD",
                                              "YER",
                                              "MVR",
                                              "AFN",
                                              "INR",
                                              "AWG",
                                              "KRW",
                                              "NPR",
                                              "JPY",
                                              "MNT",
                                              "AOA",
                                              "PLN",
                                              "GBP",
                                              "SBD",
                                              "BYN",
                                              "HUF",
                                              "BYR",
                                              "BIF",
                                              "MWK",
                                              "MGA",
                                              "XDR",
                                              "BZD",
                                              "BAM",
                                              "EGP",
                                              "MOP",
                                              "NAD",
                                              "NIO",
                                              "PEN",
                                              "NZD",
                                              "WST",
                                              "TMT",
                                              "BRL"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "FirstName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SkypeUserName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasAttachments"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Balances"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "AccountsPayable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "AccountsReceivable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "EmailAddress"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryOption"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactPersons"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "IncludeInEmails"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactStatus"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "ACTIVE",
                                              "ARCHIVED",
                                              "GDPRREQUEST"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LastName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasValidationErrors"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "XeroNetworkKey"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "LineAmountTypes"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "Inclusive",
                                        "NoTax",
                                        "Exclusive"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CISDeduction"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "ExpectedPaymentDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACCPAYCREDIT",
                                        "APOVERPAYMENT",
                                        "ACCREC",
                                        "AROVERPAYMENT",
                                        "ARPREPAYMENT",
                                        "APPREPAYMENT",
                                        "ACCPAY",
                                        "ACCRECCREDIT"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "FullyPaidOnDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Total"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Overpayments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Status"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "AUTHORISED",
                                                "PAID",
                                                "VOIDED"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItems"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "ItemCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Description"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Tracking"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "TrackingCategoryID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "TrackingOptionID"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Option"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      },
                                                      {
                                                        "key": {
                                                          "name": "Name"
                                                        },
                                                        "model": {
                                                          "type": "String",
                                                          "annotations": {
                                                            "length": {
                                                              "max": 100
                                                            }
                                                          }
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Quantity"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "UnitAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountRate"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "DiscountAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TaxAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AccountCode"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineAmount"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "RepeatingInvoiceID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "LineItemID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Allocations"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Invoice",
                                                  "required": "true"
                                                },
                                                "model": "#../../../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "StatusAttributeString"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ValidationErrors"
                                                },
                                                "model": {
                                                  "type": "Array",
                                                  "item": {
                                                    "type": "Object",
                                                    "open": {
                                                      "type": "Any"
                                                    },
                                                    "fields": [
                                                      {
                                                        "key": {
                                                          "name": "Message"
                                                        },
                                                        "model": {
                                                          "type": "String"
                                                        }
                                                      }
                                                    ]
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "CreditNote"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Amount",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "Number"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Prepayment"
                                                },
                                                "model": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Overpayment"
                                                },
                                                "model": "#../../.."
                                              },
                                              {
                                                "key": {
                                                  "name": "Date",
                                                  "required": "true"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UpdatedDateUTC"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "HasAttachments"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AppliedAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Payments"
                                        },
                                        "model": "#../../../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "SubTotal"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Attachments"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "FileName"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "ContentLength"
                                                },
                                                "model": {
                                                  "type": "Number",
                                                  "annotations": {
                                                    "int": {}
                                                  }
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "IncludeOnline"
                                                },
                                                "model": {
                                                  "type": "Boolean"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "AttachmentID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Url"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "MimeType"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Contact"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Discount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Website"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PaymentTerms"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Sales"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Bills"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "OFCURRENTMONTH",
                                                                  "OFFOLLOWINGMONTH",
                                                                  "DAYSAFTERBILLMONTH",
                                                                  "DAYSAFTERBILLDATE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Day"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Addresses"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "AddressLine3"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine2"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine1"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttentionTo"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressLine4"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 500
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Region"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PostalCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Country"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "City"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 255
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AddressType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "POBOX",
                                                              "STREET"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SalesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsSupplier"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Phones"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "PhoneAreaCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 10
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneCountryCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 20
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneType"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "OFFICE",
                                                              "DDI",
                                                              "FAX",
                                                              "DEFAULT",
                                                              "MOBILE"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PhoneNumber"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "length": {
                                                            "max": 50
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsReceivableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountsPayableTaxType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BankAccountDetails"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesDefaultAccountCode"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BatchPayments"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "BankAccountName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Details"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Reference"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Code"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 12
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TaxNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingTheme"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "CreatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingThemeID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Type"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "INVOICE"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LogoUrl"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SortOrder"
                                                    },
                                                    "model": {
                                                      "type": "Number",
                                                      "annotations": {
                                                        "int": {}
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroups"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACTIVE",
                                                              "DELETED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContactGroupID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contacts"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": "#../../../.."
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Name"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsCustomer"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DefaultCurrency"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SkypeUserName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Balances"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivable"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Outstanding"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Overdue"
                                                          },
                                                          "model": {
                                                            "type": "Number"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AccountNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PurchasesTrackingCategories"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "TrackingCategoryName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TrackingOptionName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryOption"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactPersons"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "IncludeInEmails"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FirstName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LastName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "EmailAddress"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactStatus"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "ARCHIVED",
                                                      "GDPRREQUEST"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasValidationErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "XeroNetworkKey"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmountTypes"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "Inclusive",
                                                "NoTax",
                                                "Exclusive"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CurrencyCode"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "",
                                                "FJD",
                                                "MXN",
                                                "SCR",
                                                "TVD",
                                                "CDF",
                                                "BBD",
                                                "GTQ",
                                                "CLP",
                                                "HNL",
                                                "UGX",
                                                "ZAR",
                                                "TND",
                                                "STN",
                                                "CUC",
                                                "BSD",
                                                "SLL",
                                                "SDG",
                                                "IQD",
                                                "CUP",
                                                "GMD",
                                                "TWD",
                                                "RSD",
                                                "DOP",
                                                "KMF",
                                                "MYR",
                                                "FKP",
                                                "XOF",
                                                "GEL",
                                                "UYU",
                                                "MAD",
                                                "CVE",
                                                "TOP",
                                                "AZN",
                                                "OMR",
                                                "PGK",
                                                "KES",
                                                "SEK",
                                                "BTN",
                                                "UAH",
                                                "GNF",
                                                "ERN",
                                                "MZN",
                                                "SVC",
                                                "ARS",
                                                "QAR",
                                                "IRR",
                                                "CNY",
                                                "THB",
                                                "UZS",
                                                "XPF",
                                                "MRU",
                                                "BDT",
                                                "LYD",
                                                "BMD",
                                                "KWD",
                                                "PHP",
                                                "RUB",
                                                "PYG",
                                                "ISK",
                                                "JMD",
                                                "COP",
                                                "MKD",
                                                "USD",
                                                "DZD",
                                                "PAB",
                                                "GGP",
                                                "SGD",
                                                "ETB",
                                                "JEP",
                                                "KGS",
                                                "SOS",
                                                "VEF",
                                                "VUV",
                                                "LAK",
                                                "BND",
                                                "ZMK",
                                                "XAF",
                                                "LRD",
                                                "CHF",
                                                "HRK",
                                                "ALL",
                                                "DJF",
                                                "ZMW",
                                                "TZS",
                                                "VND",
                                                "SPL",
                                                "AUD",
                                                "ILS",
                                                "GHS",
                                                "GYD",
                                                "KPW",
                                                "BOB",
                                                "KHR",
                                                "MDL",
                                                "IDR",
                                                "KYD",
                                                "AMD",
                                                "BWP",
                                                "SHP",
                                                "TRY",
                                                "LBP",
                                                "TJS",
                                                "JOD",
                                                "AED",
                                                "HKD",
                                                "RWF",
                                                "EUR",
                                                "LSL",
                                                "DKK",
                                                "ZWD",
                                                "CAD",
                                                "BGN",
                                                "MMK",
                                                "MUR",
                                                "NOK",
                                                "SYP",
                                                "IMP",
                                                "GIP",
                                                "RON",
                                                "LKR",
                                                "NGN",
                                                "CRC",
                                                "CZK",
                                                "PKR",
                                                "XCD",
                                                "ANG",
                                                "HTG",
                                                "BHD",
                                                "KZT",
                                                "SRD",
                                                "SZL",
                                                "LTL",
                                                "SAR",
                                                "TTD",
                                                "YER",
                                                "MVR",
                                                "AFN",
                                                "INR",
                                                "AWG",
                                                "KRW",
                                                "NPR",
                                                "JPY",
                                                "MNT",
                                                "AOA",
                                                "PLN",
                                                "GBP",
                                                "SBD",
                                                "BYN",
                                                "HUF",
                                                "BYR",
                                                "BIF",
                                                "MWK",
                                                "MGA",
                                                "XDR",
                                                "BZD",
                                                "BAM",
                                                "EGP",
                                                "MOP",
                                                "NAD",
                                                "NIO",
                                                "PEN",
                                                "NZD",
                                                "WST",
                                                "TMT",
                                                "BRL"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Type"
                                        },
                                        "model": {
                                          "type": "String",
                                          "annotations": {
                                            "enum": {
                                              "type": "[Ljava.lang.String;",
                                              "values": [
                                                "SPEND-OVERPAYMENT",
                                                "AROVERPAYMENT",
                                                "RECEIVE-OVERPAYMENT"
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RemainingCredit"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TotalTax"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Total"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "OverpaymentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "RepeatingInvoiceID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "IsDiscounted"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasErrors"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Warnings"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalDiscount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "CurrencyRate"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "UpdatedDateUTC"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "BatchPaymentID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "ValidationErrors"
                          },
                          "model": {
                            "type": "Array",
                            "item": {
                              "type": "Object",
                              "open": {
                                "type": "Any"
                              },
                              "fields": [
                                {
                                  "key": {
                                    "name": "Message"
                                  },
                                  "model": {
                                    "type": "String"
                                  }
                                }
                              ]
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "CreditNote"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Allocations"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Invoice",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountPaid"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountCredited"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNotes"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PlannedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountDue"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Prepayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ExpectedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "APOVERPAYMENT",
                                                      "ACCREC",
                                                      "AROVERPAYMENT",
                                                      "ARPREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "ACCPAY",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Overpayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RepeatingInvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsDiscounted"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalDiscount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNote"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "Amount",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Prepayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ARPREPAYMENT",
                                                      "SPEND-PREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "RECEIVE-PREPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PrepaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Overpayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "SPEND-OVERPAYMENT",
                                                      "AROVERPAYMENT",
                                                      "RECEIVE-OVERPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "OverpaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "BrandingThemeID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "ValidationErrors"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Payments"
                                },
                                "model": "#../../.."
                              },
                              {
                                "key": {
                                  "name": "SubTotal"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "RemainingCredit"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalTax"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "DueDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "AUTHORISED",
                                        "DRAFT",
                                        "PAID",
                                        "SUBMITTED",
                                        "DELETED",
                                        "VOIDED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LineItems"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "ItemCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Tracking"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Option"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 100
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Quantity"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UnitAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RepeatingInvoiceID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItemID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CreditNoteID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CreditNoteNumber"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "StatusAttributeString"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CISRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "AppliedAmount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "SentToContact"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Date"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Contact"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Discount"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UpdatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ValidationErrors"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Message"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Website"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PaymentTerms"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Sales"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Bills"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Attachments"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "FileName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContentLength"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IncludeOnline"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttachmentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "MimeType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Addresses"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AddressLine3"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine2"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine1"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttentionTo"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine4"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Region"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PostalCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Country"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "City"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "POBOX",
                                                      "STREET"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsSupplier"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Phones"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "PhoneAreaCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 10
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneCountryCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 20
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OFFICE",
                                                      "DDI",
                                                      "FAX",
                                                      "DEFAULT",
                                                      "MOBILE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsPayableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountDetails"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BatchPayments"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "BankAccountName"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Details"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Reference"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Code"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BankAccountNumber"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TaxNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingTheme"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "CreatedDateUTC"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BrandingThemeID"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "INVOICE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "LogoUrl"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "SortOrder"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Name"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactGroups"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroupID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contacts"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsCustomer"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "StatusAttributeString"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "DefaultCurrency"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "",
                                              "FJD",
                                              "MXN",
                                              "SCR",
                                              "TVD",
                                              "CDF",
                                              "BBD",
                                              "GTQ",
                                              "CLP",
                                              "HNL",
                                              "UGX",
                                              "ZAR",
                                              "TND",
                                              "STN",
                                              "CUC",
                                              "BSD",
                                              "SLL",
                                              "SDG",
                                              "IQD",
                                              "CUP",
                                              "GMD",
                                              "TWD",
                                              "RSD",
                                              "DOP",
                                              "KMF",
                                              "MYR",
                                              "FKP",
                                              "XOF",
                                              "GEL",
                                              "UYU",
                                              "MAD",
                                              "CVE",
                                              "TOP",
                                              "AZN",
                                              "OMR",
                                              "PGK",
                                              "KES",
                                              "SEK",
                                              "BTN",
                                              "UAH",
                                              "GNF",
                                              "ERN",
                                              "MZN",
                                              "SVC",
                                              "ARS",
                                              "QAR",
                                              "IRR",
                                              "CNY",
                                              "THB",
                                              "UZS",
                                              "XPF",
                                              "MRU",
                                              "BDT",
                                              "LYD",
                                              "BMD",
                                              "KWD",
                                              "PHP",
                                              "RUB",
                                              "PYG",
                                              "ISK",
                                              "JMD",
                                              "COP",
                                              "MKD",
                                              "USD",
                                              "DZD",
                                              "PAB",
                                              "GGP",
                                              "SGD",
                                              "ETB",
                                              "JEP",
                                              "KGS",
                                              "SOS",
                                              "VEF",
                                              "VUV",
                                              "LAK",
                                              "BND",
                                              "ZMK",
                                              "XAF",
                                              "LRD",
                                              "CHF",
                                              "HRK",
                                              "ALL",
                                              "DJF",
                                              "ZMW",
                                              "TZS",
                                              "VND",
                                              "SPL",
                                              "AUD",
                                              "ILS",
                                              "GHS",
                                              "GYD",
                                              "KPW",
                                              "BOB",
                                              "KHR",
                                              "MDL",
                                              "IDR",
                                              "KYD",
                                              "AMD",
                                              "BWP",
                                              "SHP",
                                              "TRY",
                                              "LBP",
                                              "TJS",
                                              "JOD",
                                              "AED",
                                              "HKD",
                                              "RWF",
                                              "EUR",
                                              "LSL",
                                              "DKK",
                                              "ZWD",
                                              "CAD",
                                              "BGN",
                                              "MMK",
                                              "MUR",
                                              "NOK",
                                              "SYP",
                                              "IMP",
                                              "GIP",
                                              "RON",
                                              "LKR",
                                              "NGN",
                                              "CRC",
                                              "CZK",
                                              "PKR",
                                              "XCD",
                                              "ANG",
                                              "HTG",
                                              "BHD",
                                              "KZT",
                                              "SRD",
                                              "SZL",
                                              "LTL",
                                              "SAR",
                                              "TTD",
                                              "YER",
                                              "MVR",
                                              "AFN",
                                              "INR",
                                              "AWG",
                                              "KRW",
                                              "NPR",
                                              "JPY",
                                              "MNT",
                                              "AOA",
                                              "PLN",
                                              "GBP",
                                              "SBD",
                                              "BYN",
                                              "HUF",
                                              "BYR",
                                              "BIF",
                                              "MWK",
                                              "MGA",
                                              "XDR",
                                              "BZD",
                                              "BAM",
                                              "EGP",
                                              "MOP",
                                              "NAD",
                                              "NIO",
                                              "PEN",
                                              "NZD",
                                              "WST",
                                              "TMT",
                                              "BRL"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "FirstName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SkypeUserName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasAttachments"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Balances"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "AccountsPayable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "AccountsReceivable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "EmailAddress"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryOption"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactPersons"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "IncludeInEmails"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactStatus"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "ACTIVE",
                                              "ARCHIVED",
                                              "GDPRREQUEST"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LastName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasValidationErrors"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "XeroNetworkKey"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "LineAmountTypes"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "Inclusive",
                                        "NoTax",
                                        "Exclusive"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CISDeduction"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ACCPAYCREDIT",
                                        "ACCRECCREDIT"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "FullyPaidOnDate"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Total"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasErrors"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "Warnings"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Message"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "PaymentID"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Particulars"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "PaymentType"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "APOVERPAYMENTPAYMENT",
                                  "APCREDITPAYMENT",
                                  "ARCREDITPAYMENT",
                                  "ACCRECPAYMENT",
                                  "AROVERPAYMENTPAYMENT",
                                  "ARPREPAYMENTPAYMENT",
                                  "ACCPAYPAYMENT",
                                  "APPREPAYMENTPAYMENT"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "HasAccount"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "InvoiceNumber"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Overpayment"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "AUTHORISED",
                                        "PAID",
                                        "VOIDED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LineItems"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "ItemCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Tracking"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Option"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 100
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Quantity"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UnitAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RepeatingInvoiceID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItemID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Allocations"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Invoice",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountPaid"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountCredited"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNotes"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PlannedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountDue"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Prepayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ARPREPAYMENT",
                                                              "SPEND-PREPAYMENT",
                                                              "APPREPAYMENT",
                                                              "RECEIVE-PREPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "PrepaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ExpectedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "APOVERPAYMENT",
                                                      "ACCREC",
                                                      "AROVERPAYMENT",
                                                      "ARPREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "ACCPAY",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Overpayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RepeatingInvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsDiscounted"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalDiscount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNote"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Amount",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Prepayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ARPREPAYMENT",
                                                      "SPEND-PREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "RECEIVE-PREPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PrepaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Overpayment"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "Date",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "AppliedAmount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Payments"
                                },
                                "model": "#../../.."
                              },
                              {
                                "key": {
                                  "name": "SubTotal"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Date"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Contact"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Discount"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UpdatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ValidationErrors"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Message"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Website"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PaymentTerms"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Sales"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Bills"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Attachments"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "FileName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContentLength"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IncludeOnline"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttachmentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "MimeType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Addresses"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AddressLine3"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine2"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine1"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttentionTo"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine4"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Region"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PostalCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Country"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "City"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "POBOX",
                                                      "STREET"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsSupplier"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Phones"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "PhoneAreaCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 10
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneCountryCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 20
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OFFICE",
                                                      "DDI",
                                                      "FAX",
                                                      "DEFAULT",
                                                      "MOBILE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsPayableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountDetails"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BatchPayments"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "BankAccountName"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Details"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Reference"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Code"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BankAccountNumber"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TaxNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingTheme"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "CreatedDateUTC"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BrandingThemeID"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "INVOICE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "LogoUrl"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "SortOrder"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Name"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactGroups"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroupID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contacts"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsCustomer"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "StatusAttributeString"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "DefaultCurrency"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "",
                                              "FJD",
                                              "MXN",
                                              "SCR",
                                              "TVD",
                                              "CDF",
                                              "BBD",
                                              "GTQ",
                                              "CLP",
                                              "HNL",
                                              "UGX",
                                              "ZAR",
                                              "TND",
                                              "STN",
                                              "CUC",
                                              "BSD",
                                              "SLL",
                                              "SDG",
                                              "IQD",
                                              "CUP",
                                              "GMD",
                                              "TWD",
                                              "RSD",
                                              "DOP",
                                              "KMF",
                                              "MYR",
                                              "FKP",
                                              "XOF",
                                              "GEL",
                                              "UYU",
                                              "MAD",
                                              "CVE",
                                              "TOP",
                                              "AZN",
                                              "OMR",
                                              "PGK",
                                              "KES",
                                              "SEK",
                                              "BTN",
                                              "UAH",
                                              "GNF",
                                              "ERN",
                                              "MZN",
                                              "SVC",
                                              "ARS",
                                              "QAR",
                                              "IRR",
                                              "CNY",
                                              "THB",
                                              "UZS",
                                              "XPF",
                                              "MRU",
                                              "BDT",
                                              "LYD",
                                              "BMD",
                                              "KWD",
                                              "PHP",
                                              "RUB",
                                              "PYG",
                                              "ISK",
                                              "JMD",
                                              "COP",
                                              "MKD",
                                              "USD",
                                              "DZD",
                                              "PAB",
                                              "GGP",
                                              "SGD",
                                              "ETB",
                                              "JEP",
                                              "KGS",
                                              "SOS",
                                              "VEF",
                                              "VUV",
                                              "LAK",
                                              "BND",
                                              "ZMK",
                                              "XAF",
                                              "LRD",
                                              "CHF",
                                              "HRK",
                                              "ALL",
                                              "DJF",
                                              "ZMW",
                                              "TZS",
                                              "VND",
                                              "SPL",
                                              "AUD",
                                              "ILS",
                                              "GHS",
                                              "GYD",
                                              "KPW",
                                              "BOB",
                                              "KHR",
                                              "MDL",
                                              "IDR",
                                              "KYD",
                                              "AMD",
                                              "BWP",
                                              "SHP",
                                              "TRY",
                                              "LBP",
                                              "TJS",
                                              "JOD",
                                              "AED",
                                              "HKD",
                                              "RWF",
                                              "EUR",
                                              "LSL",
                                              "DKK",
                                              "ZWD",
                                              "CAD",
                                              "BGN",
                                              "MMK",
                                              "MUR",
                                              "NOK",
                                              "SYP",
                                              "IMP",
                                              "GIP",
                                              "RON",
                                              "LKR",
                                              "NGN",
                                              "CRC",
                                              "CZK",
                                              "PKR",
                                              "XCD",
                                              "ANG",
                                              "HTG",
                                              "BHD",
                                              "KZT",
                                              "SRD",
                                              "SZL",
                                              "LTL",
                                              "SAR",
                                              "TTD",
                                              "YER",
                                              "MVR",
                                              "AFN",
                                              "INR",
                                              "AWG",
                                              "KRW",
                                              "NPR",
                                              "JPY",
                                              "MNT",
                                              "AOA",
                                              "PLN",
                                              "GBP",
                                              "SBD",
                                              "BYN",
                                              "HUF",
                                              "BYR",
                                              "BIF",
                                              "MWK",
                                              "MGA",
                                              "XDR",
                                              "BZD",
                                              "BAM",
                                              "EGP",
                                              "MOP",
                                              "NAD",
                                              "NIO",
                                              "PEN",
                                              "NZD",
                                              "WST",
                                              "TMT",
                                              "BRL"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "FirstName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SkypeUserName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasAttachments"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Balances"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "AccountsPayable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "AccountsReceivable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "EmailAddress"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryOption"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactPersons"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "IncludeInEmails"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactStatus"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "ACTIVE",
                                              "ARCHIVED",
                                              "GDPRREQUEST"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LastName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasValidationErrors"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "XeroNetworkKey"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "LineAmountTypes"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "Inclusive",
                                        "NoTax",
                                        "Exclusive"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "SPEND-OVERPAYMENT",
                                        "AROVERPAYMENT",
                                        "RECEIVE-OVERPAYMENT"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "RemainingCredit"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalTax"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Total"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "OverpaymentID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "Status"
                          },
                          "model": {
                            "type": "String",
                            "annotations": {
                              "enum": {
                                "type": "[Ljava.lang.String;",
                                "values": [
                                  "AUTHORISED",
                                  "DELETED"
                                ]
                              }
                            }
                          }
                        },
                        {
                          "key": {
                            "name": "CreditNoteNumber"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "StatusAttributeString"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Reference"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Amount"
                          },
                          "model": {
                            "type": "Number"
                          }
                        },
                        {
                          "key": {
                            "name": "IsReconciled"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "Code"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Date"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Details"
                          },
                          "model": {
                            "type": "String"
                          }
                        },
                        {
                          "key": {
                            "name": "Prepayment"
                          },
                          "model": {
                            "type": "Object",
                            "open": {
                              "type": "Any"
                            },
                            "fields": [
                              {
                                "key": {
                                  "name": "Status"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "AUTHORISED",
                                        "PAID",
                                        "VOIDED"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "LineItems"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "ItemCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Description"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Tracking"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "TrackingCategoryID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "TrackingOptionID"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Option"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              },
                                              {
                                                "key": {
                                                  "name": "Name"
                                                },
                                                "model": {
                                                  "type": "String",
                                                  "annotations": {
                                                    "length": {
                                                      "max": 100
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Quantity"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "UnitAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountRate"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "DiscountAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "TaxAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AccountCode"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineAmount"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "RepeatingInvoiceID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "LineItemID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Allocations"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "Invoice",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountPaid"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountCredited"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNotes"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "BrandingThemeID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ValidationErrors"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DueDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "DRAFT",
                                                              "PAID",
                                                              "SUBMITTED",
                                                              "DELETED",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CreditNoteNumber"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "StatusAttributeString"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Reference"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SentToContact"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CISDeduction"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "ACCPAYCREDIT",
                                                              "ACCRECCREDIT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "FullyPaidOnDate"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasErrors"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Warnings"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "Message"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PlannedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AmountDue"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Prepayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "InvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ExpectedPaymentDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "APOVERPAYMENT",
                                                      "ACCREC",
                                                      "AROVERPAYMENT",
                                                      "ARPREPAYMENT",
                                                      "APPREPAYMENT",
                                                      "ACCPAY",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Overpayments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Status"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "AUTHORISED",
                                                              "PAID",
                                                              "VOIDED"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItems"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "ItemCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Description"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Tracking"
                                                              },
                                                              "model": {
                                                                "type": "Array",
                                                                "item": {
                                                                  "type": "Object",
                                                                  "open": {
                                                                    "type": "Any"
                                                                  },
                                                                  "fields": [
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingCategoryID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "TrackingOptionID"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Option"
                                                                      },
                                                                      "model": {
                                                                        "type": "String"
                                                                      }
                                                                    },
                                                                    {
                                                                      "key": {
                                                                        "name": "Name"
                                                                      },
                                                                      "model": {
                                                                        "type": "String",
                                                                        "annotations": {
                                                                          "length": {
                                                                            "max": 100
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  ]
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Quantity"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "UnitAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountRate"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "DiscountAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TaxAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AccountCode"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineAmount"
                                                              },
                                                              "model": {
                                                                "type": "Number"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "RepeatingInvoiceID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "LineItemID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Allocations"
                                                      },
                                                      "model": "#../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UpdatedDateUTC"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "HasAttachments"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AppliedAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Payments"
                                                      },
                                                      "model": "#../../../../../../../.."
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "SubTotal"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Attachments"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "FileName"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "ContentLength"
                                                              },
                                                              "model": {
                                                                "type": "Number",
                                                                "annotations": {
                                                                  "int": {}
                                                                }
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "IncludeOnline"
                                                              },
                                                              "model": {
                                                                "type": "Boolean"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "AttachmentID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Url"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "MimeType"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Date"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Contact"
                                                      },
                                                      "model": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Discount"
                                                            },
                                                            "model": {
                                                              "type": "Number"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "UpdatedDateUTC"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Message"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Website"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PaymentTerms"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "Sales"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Bills"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Type"
                                                                        },
                                                                        "model": {
                                                                          "type": "String",
                                                                          "annotations": {
                                                                            "enum": {
                                                                              "type": "[Ljava.lang.String;",
                                                                              "values": [
                                                                                "OFCURRENTMONTH",
                                                                                "OFFOLLOWINGMONTH",
                                                                                "DAYSAFTERBILLMONTH",
                                                                                "DAYSAFTERBILLDATE"
                                                                              ]
                                                                            }
                                                                          }
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Day"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number",
                                                                          "annotations": {
                                                                            "int": {}
                                                                          }
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Attachments"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "FileName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContentLength"
                                                                    },
                                                                    "model": {
                                                                      "type": "Number",
                                                                      "annotations": {
                                                                        "int": {}
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeOnline"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttachmentID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Url"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "MimeType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Addresses"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine3"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine2"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine1"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AttentionTo"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressLine4"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 500
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Region"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PostalCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Country"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "City"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 255
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "AddressType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "POBOX",
                                                                            "STREET"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SalesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsSupplier"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Phones"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneAreaCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 10
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneCountryCode"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 20
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneType"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "OFFICE",
                                                                            "DDI",
                                                                            "FAX",
                                                                            "DEFAULT",
                                                                            "MOBILE"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "PhoneNumber"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "length": {
                                                                          "max": 50
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsReceivableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountsPayableTaxType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BankAccountDetails"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesDefaultAccountCode"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BatchPayments"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountName"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Details"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Reference"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Code"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "length": {
                                                                        "max": 12
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BankAccountNumber"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TaxNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "BrandingTheme"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "CreatedDateUTC"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "BrandingThemeID"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Type"
                                                                  },
                                                                  "model": {
                                                                    "type": "String",
                                                                    "annotations": {
                                                                      "enum": {
                                                                        "type": "[Ljava.lang.String;",
                                                                        "values": [
                                                                          "INVOICE"
                                                                        ]
                                                                      }
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "LogoUrl"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "SortOrder"
                                                                  },
                                                                  "model": {
                                                                    "type": "Number",
                                                                    "annotations": {
                                                                      "int": {}
                                                                    }
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "Name"
                                                                  },
                                                                  "model": {
                                                                    "type": "String"
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroups"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "Status"
                                                                    },
                                                                    "model": {
                                                                      "type": "String",
                                                                      "annotations": {
                                                                        "enum": {
                                                                          "type": "[Ljava.lang.String;",
                                                                          "values": [
                                                                            "ACTIVE",
                                                                            "DELETED"
                                                                          ]
                                                                        }
                                                                      }
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "ContactGroupID"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Contacts"
                                                                    },
                                                                    "model": {
                                                                      "type": "Array",
                                                                      "item": "#../../../.."
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "Name"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IsCustomer"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "StatusAttributeString"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "DefaultCurrency"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "",
                                                                    "FJD",
                                                                    "MXN",
                                                                    "SCR",
                                                                    "TVD",
                                                                    "CDF",
                                                                    "BBD",
                                                                    "GTQ",
                                                                    "CLP",
                                                                    "HNL",
                                                                    "UGX",
                                                                    "ZAR",
                                                                    "TND",
                                                                    "STN",
                                                                    "CUC",
                                                                    "BSD",
                                                                    "SLL",
                                                                    "SDG",
                                                                    "IQD",
                                                                    "CUP",
                                                                    "GMD",
                                                                    "TWD",
                                                                    "RSD",
                                                                    "DOP",
                                                                    "KMF",
                                                                    "MYR",
                                                                    "FKP",
                                                                    "XOF",
                                                                    "GEL",
                                                                    "UYU",
                                                                    "MAD",
                                                                    "CVE",
                                                                    "TOP",
                                                                    "AZN",
                                                                    "OMR",
                                                                    "PGK",
                                                                    "KES",
                                                                    "SEK",
                                                                    "BTN",
                                                                    "UAH",
                                                                    "GNF",
                                                                    "ERN",
                                                                    "MZN",
                                                                    "SVC",
                                                                    "ARS",
                                                                    "QAR",
                                                                    "IRR",
                                                                    "CNY",
                                                                    "THB",
                                                                    "UZS",
                                                                    "XPF",
                                                                    "MRU",
                                                                    "BDT",
                                                                    "LYD",
                                                                    "BMD",
                                                                    "KWD",
                                                                    "PHP",
                                                                    "RUB",
                                                                    "PYG",
                                                                    "ISK",
                                                                    "JMD",
                                                                    "COP",
                                                                    "MKD",
                                                                    "USD",
                                                                    "DZD",
                                                                    "PAB",
                                                                    "GGP",
                                                                    "SGD",
                                                                    "ETB",
                                                                    "JEP",
                                                                    "KGS",
                                                                    "SOS",
                                                                    "VEF",
                                                                    "VUV",
                                                                    "LAK",
                                                                    "BND",
                                                                    "ZMK",
                                                                    "XAF",
                                                                    "LRD",
                                                                    "CHF",
                                                                    "HRK",
                                                                    "ALL",
                                                                    "DJF",
                                                                    "ZMW",
                                                                    "TZS",
                                                                    "VND",
                                                                    "SPL",
                                                                    "AUD",
                                                                    "ILS",
                                                                    "GHS",
                                                                    "GYD",
                                                                    "KPW",
                                                                    "BOB",
                                                                    "KHR",
                                                                    "MDL",
                                                                    "IDR",
                                                                    "KYD",
                                                                    "AMD",
                                                                    "BWP",
                                                                    "SHP",
                                                                    "TRY",
                                                                    "LBP",
                                                                    "TJS",
                                                                    "JOD",
                                                                    "AED",
                                                                    "HKD",
                                                                    "RWF",
                                                                    "EUR",
                                                                    "LSL",
                                                                    "DKK",
                                                                    "ZWD",
                                                                    "CAD",
                                                                    "BGN",
                                                                    "MMK",
                                                                    "MUR",
                                                                    "NOK",
                                                                    "SYP",
                                                                    "IMP",
                                                                    "GIP",
                                                                    "RON",
                                                                    "LKR",
                                                                    "NGN",
                                                                    "CRC",
                                                                    "CZK",
                                                                    "PKR",
                                                                    "XCD",
                                                                    "ANG",
                                                                    "HTG",
                                                                    "BHD",
                                                                    "KZT",
                                                                    "SRD",
                                                                    "SZL",
                                                                    "LTL",
                                                                    "SAR",
                                                                    "TTD",
                                                                    "YER",
                                                                    "MVR",
                                                                    "AFN",
                                                                    "INR",
                                                                    "AWG",
                                                                    "KRW",
                                                                    "NPR",
                                                                    "JPY",
                                                                    "MNT",
                                                                    "AOA",
                                                                    "PLN",
                                                                    "GBP",
                                                                    "SBD",
                                                                    "BYN",
                                                                    "HUF",
                                                                    "BYR",
                                                                    "BIF",
                                                                    "MWK",
                                                                    "MGA",
                                                                    "XDR",
                                                                    "BZD",
                                                                    "BAM",
                                                                    "EGP",
                                                                    "MOP",
                                                                    "NAD",
                                                                    "NIO",
                                                                    "PEN",
                                                                    "NZD",
                                                                    "WST",
                                                                    "TMT",
                                                                    "BRL"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "SkypeUserName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasAttachments"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Balances"
                                                            },
                                                            "model": {
                                                              "type": "Object",
                                                              "open": {
                                                                "type": "Any"
                                                              },
                                                              "fields": [
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsPayable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                },
                                                                {
                                                                  "key": {
                                                                    "name": "AccountsReceivable"
                                                                  },
                                                                  "model": {
                                                                    "type": "Object",
                                                                    "open": {
                                                                      "type": "Any"
                                                                    },
                                                                    "fields": [
                                                                      {
                                                                        "key": {
                                                                          "name": "Outstanding"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      },
                                                                      {
                                                                        "key": {
                                                                          "name": "Overdue"
                                                                        },
                                                                        "model": {
                                                                          "type": "Number"
                                                                        }
                                                                      }
                                                                    ]
                                                                  }
                                                                }
                                                              ]
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AccountNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PurchasesTrackingCategories"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingCategoryName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "TrackingOptionName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryOption"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactPersons"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": {
                                                                "type": "Object",
                                                                "open": {
                                                                  "type": "Any"
                                                                },
                                                                "fields": [
                                                                  {
                                                                    "key": {
                                                                      "name": "IncludeInEmails"
                                                                    },
                                                                    "model": {
                                                                      "type": "Boolean"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "FirstName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "LastName"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  },
                                                                  {
                                                                    "key": {
                                                                      "name": "EmailAddress"
                                                                    },
                                                                    "model": {
                                                                      "type": "String"
                                                                    }
                                                                  }
                                                                ]
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactStatus"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "ARCHIVED",
                                                                    "GDPRREQUEST"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "HasValidationErrors"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "XeroNetworkKey"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmountTypes"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "Inclusive",
                                                              "NoTax",
                                                              "Exclusive"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "CurrencyCode"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "",
                                                              "FJD",
                                                              "MXN",
                                                              "SCR",
                                                              "TVD",
                                                              "CDF",
                                                              "BBD",
                                                              "GTQ",
                                                              "CLP",
                                                              "HNL",
                                                              "UGX",
                                                              "ZAR",
                                                              "TND",
                                                              "STN",
                                                              "CUC",
                                                              "BSD",
                                                              "SLL",
                                                              "SDG",
                                                              "IQD",
                                                              "CUP",
                                                              "GMD",
                                                              "TWD",
                                                              "RSD",
                                                              "DOP",
                                                              "KMF",
                                                              "MYR",
                                                              "FKP",
                                                              "XOF",
                                                              "GEL",
                                                              "UYU",
                                                              "MAD",
                                                              "CVE",
                                                              "TOP",
                                                              "AZN",
                                                              "OMR",
                                                              "PGK",
                                                              "KES",
                                                              "SEK",
                                                              "BTN",
                                                              "UAH",
                                                              "GNF",
                                                              "ERN",
                                                              "MZN",
                                                              "SVC",
                                                              "ARS",
                                                              "QAR",
                                                              "IRR",
                                                              "CNY",
                                                              "THB",
                                                              "UZS",
                                                              "XPF",
                                                              "MRU",
                                                              "BDT",
                                                              "LYD",
                                                              "BMD",
                                                              "KWD",
                                                              "PHP",
                                                              "RUB",
                                                              "PYG",
                                                              "ISK",
                                                              "JMD",
                                                              "COP",
                                                              "MKD",
                                                              "USD",
                                                              "DZD",
                                                              "PAB",
                                                              "GGP",
                                                              "SGD",
                                                              "ETB",
                                                              "JEP",
                                                              "KGS",
                                                              "SOS",
                                                              "VEF",
                                                              "VUV",
                                                              "LAK",
                                                              "BND",
                                                              "ZMK",
                                                              "XAF",
                                                              "LRD",
                                                              "CHF",
                                                              "HRK",
                                                              "ALL",
                                                              "DJF",
                                                              "ZMW",
                                                              "TZS",
                                                              "VND",
                                                              "SPL",
                                                              "AUD",
                                                              "ILS",
                                                              "GHS",
                                                              "GYD",
                                                              "KPW",
                                                              "BOB",
                                                              "KHR",
                                                              "MDL",
                                                              "IDR",
                                                              "KYD",
                                                              "AMD",
                                                              "BWP",
                                                              "SHP",
                                                              "TRY",
                                                              "LBP",
                                                              "TJS",
                                                              "JOD",
                                                              "AED",
                                                              "HKD",
                                                              "RWF",
                                                              "EUR",
                                                              "LSL",
                                                              "DKK",
                                                              "ZWD",
                                                              "CAD",
                                                              "BGN",
                                                              "MMK",
                                                              "MUR",
                                                              "NOK",
                                                              "SYP",
                                                              "IMP",
                                                              "GIP",
                                                              "RON",
                                                              "LKR",
                                                              "NGN",
                                                              "CRC",
                                                              "CZK",
                                                              "PKR",
                                                              "XCD",
                                                              "ANG",
                                                              "HTG",
                                                              "BHD",
                                                              "KZT",
                                                              "SRD",
                                                              "SZL",
                                                              "LTL",
                                                              "SAR",
                                                              "TTD",
                                                              "YER",
                                                              "MVR",
                                                              "AFN",
                                                              "INR",
                                                              "AWG",
                                                              "KRW",
                                                              "NPR",
                                                              "JPY",
                                                              "MNT",
                                                              "AOA",
                                                              "PLN",
                                                              "GBP",
                                                              "SBD",
                                                              "BYN",
                                                              "HUF",
                                                              "BYR",
                                                              "BIF",
                                                              "MWK",
                                                              "MGA",
                                                              "XDR",
                                                              "BZD",
                                                              "BAM",
                                                              "EGP",
                                                              "MOP",
                                                              "NAD",
                                                              "NIO",
                                                              "PEN",
                                                              "NZD",
                                                              "WST",
                                                              "TMT",
                                                              "BRL"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Type"
                                                      },
                                                      "model": {
                                                        "type": "String",
                                                        "annotations": {
                                                          "enum": {
                                                            "type": "[Ljava.lang.String;",
                                                            "values": [
                                                              "SPEND-OVERPAYMENT",
                                                              "AROVERPAYMENT",
                                                              "RECEIVE-OVERPAYMENT"
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RemainingCredit"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TotalTax"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Total"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "OverpaymentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RepeatingInvoiceID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IsDiscounted"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalDiscount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "StatusAttributeString"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ValidationErrors"
                                        },
                                        "model": {
                                          "type": "Array",
                                          "item": {
                                            "type": "Object",
                                            "open": {
                                              "type": "Any"
                                            },
                                            "fields": [
                                              {
                                                "key": {
                                                  "name": "Message"
                                                },
                                                "model": {
                                                  "type": "String"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "CreditNote"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "BrandingThemeID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ValidationErrors"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "DueDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "DRAFT",
                                                      "PAID",
                                                      "SUBMITTED",
                                                      "DELETED",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CreditNoteNumber"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "StatusAttributeString"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Reference"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "SentToContact"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CISDeduction"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACCPAYCREDIT",
                                                      "ACCRECCREDIT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FullyPaidOnDate"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasErrors"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Warnings"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "Message"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Amount",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "Number"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Prepayment"
                                        },
                                        "model": "#../../.."
                                      },
                                      {
                                        "key": {
                                          "name": "Overpayment"
                                        },
                                        "model": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "AUTHORISED",
                                                      "PAID",
                                                      "VOIDED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineItems"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "ItemCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Description"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Tracking"
                                                      },
                                                      "model": {
                                                        "type": "Array",
                                                        "item": {
                                                          "type": "Object",
                                                          "open": {
                                                            "type": "Any"
                                                          },
                                                          "fields": [
                                                            {
                                                              "key": {
                                                                "name": "TrackingCategoryID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "TrackingOptionID"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Option"
                                                              },
                                                              "model": {
                                                                "type": "String"
                                                              }
                                                            },
                                                            {
                                                              "key": {
                                                                "name": "Name"
                                                              },
                                                              "model": {
                                                                "type": "String",
                                                                "annotations": {
                                                                  "length": {
                                                                    "max": 100
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Quantity"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "UnitAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountRate"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "DiscountAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "TaxAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AccountCode"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineAmount"
                                                      },
                                                      "model": {
                                                        "type": "Number"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "RepeatingInvoiceID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "LineItemID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Allocations"
                                              },
                                              "model": "#../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "UpdatedDateUTC"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyRate"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "HasAttachments"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AppliedAmount"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Payments"
                                              },
                                              "model": "#../../../../../.."
                                            },
                                            {
                                              "key": {
                                                "name": "SubTotal"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Attachments"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": {
                                                  "type": "Object",
                                                  "open": {
                                                    "type": "Any"
                                                  },
                                                  "fields": [
                                                    {
                                                      "key": {
                                                        "name": "FileName"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "ContentLength"
                                                      },
                                                      "model": {
                                                        "type": "Number",
                                                        "annotations": {
                                                          "int": {}
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "IncludeOnline"
                                                      },
                                                      "model": {
                                                        "type": "Boolean"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "AttachmentID"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "Url"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    },
                                                    {
                                                      "key": {
                                                        "name": "MimeType"
                                                      },
                                                      "model": {
                                                        "type": "String"
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Date"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contact"
                                              },
                                              "model": {
                                                "type": "Object",
                                                "open": {
                                                  "type": "Any"
                                                },
                                                "fields": [
                                                  {
                                                    "key": {
                                                      "name": "Discount"
                                                    },
                                                    "model": {
                                                      "type": "Number"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "UpdatedDateUTC"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Message"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Website"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PaymentTerms"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "Sales"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Bills"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Type"
                                                                },
                                                                "model": {
                                                                  "type": "String",
                                                                  "annotations": {
                                                                    "enum": {
                                                                      "type": "[Ljava.lang.String;",
                                                                      "values": [
                                                                        "OFCURRENTMONTH",
                                                                        "OFFOLLOWINGMONTH",
                                                                        "DAYSAFTERBILLMONTH",
                                                                        "DAYSAFTERBILLDATE"
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Day"
                                                                },
                                                                "model": {
                                                                  "type": "Number",
                                                                  "annotations": {
                                                                    "int": {}
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Attachments"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "FileName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContentLength"
                                                            },
                                                            "model": {
                                                              "type": "Number",
                                                              "annotations": {
                                                                "int": {}
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "IncludeOnline"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttachmentID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Url"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "MimeType"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Name"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Addresses"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "AddressLine3"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine2"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine1"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AttentionTo"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressLine4"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 500
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Region"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PostalCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Country"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "City"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 255
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "AddressType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "POBOX",
                                                                    "STREET"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SalesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsSupplier"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Phones"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "PhoneAreaCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 10
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneCountryCode"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 20
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneType"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "OFFICE",
                                                                    "DDI",
                                                                    "FAX",
                                                                    "DEFAULT",
                                                                    "MOBILE"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "PhoneNumber"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "length": {
                                                                  "max": 50
                                                                }
                                                              }
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsReceivableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountsPayableTaxType"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BankAccountDetails"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesDefaultAccountCode"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BatchPayments"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "BankAccountName"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Details"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Reference"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Code"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "length": {
                                                                "max": 12
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BankAccountNumber"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TaxNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "BrandingTheme"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "CreatedDateUTC"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "BrandingThemeID"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Type"
                                                          },
                                                          "model": {
                                                            "type": "String",
                                                            "annotations": {
                                                              "enum": {
                                                                "type": "[Ljava.lang.String;",
                                                                "values": [
                                                                  "INVOICE"
                                                                ]
                                                              }
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "LogoUrl"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "SortOrder"
                                                          },
                                                          "model": {
                                                            "type": "Number",
                                                            "annotations": {
                                                              "int": {}
                                                            }
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "Name"
                                                          },
                                                          "model": {
                                                            "type": "String"
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactGroups"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "Status"
                                                            },
                                                            "model": {
                                                              "type": "String",
                                                              "annotations": {
                                                                "enum": {
                                                                  "type": "[Ljava.lang.String;",
                                                                  "values": [
                                                                    "ACTIVE",
                                                                    "DELETED"
                                                                  ]
                                                                }
                                                              }
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "ContactGroupID"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Contacts"
                                                            },
                                                            "model": {
                                                              "type": "Array",
                                                              "item": "#../../../.."
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "Name"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "IsCustomer"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "StatusAttributeString"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "DefaultCurrency"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "",
                                                            "FJD",
                                                            "MXN",
                                                            "SCR",
                                                            "TVD",
                                                            "CDF",
                                                            "BBD",
                                                            "GTQ",
                                                            "CLP",
                                                            "HNL",
                                                            "UGX",
                                                            "ZAR",
                                                            "TND",
                                                            "STN",
                                                            "CUC",
                                                            "BSD",
                                                            "SLL",
                                                            "SDG",
                                                            "IQD",
                                                            "CUP",
                                                            "GMD",
                                                            "TWD",
                                                            "RSD",
                                                            "DOP",
                                                            "KMF",
                                                            "MYR",
                                                            "FKP",
                                                            "XOF",
                                                            "GEL",
                                                            "UYU",
                                                            "MAD",
                                                            "CVE",
                                                            "TOP",
                                                            "AZN",
                                                            "OMR",
                                                            "PGK",
                                                            "KES",
                                                            "SEK",
                                                            "BTN",
                                                            "UAH",
                                                            "GNF",
                                                            "ERN",
                                                            "MZN",
                                                            "SVC",
                                                            "ARS",
                                                            "QAR",
                                                            "IRR",
                                                            "CNY",
                                                            "THB",
                                                            "UZS",
                                                            "XPF",
                                                            "MRU",
                                                            "BDT",
                                                            "LYD",
                                                            "BMD",
                                                            "KWD",
                                                            "PHP",
                                                            "RUB",
                                                            "PYG",
                                                            "ISK",
                                                            "JMD",
                                                            "COP",
                                                            "MKD",
                                                            "USD",
                                                            "DZD",
                                                            "PAB",
                                                            "GGP",
                                                            "SGD",
                                                            "ETB",
                                                            "JEP",
                                                            "KGS",
                                                            "SOS",
                                                            "VEF",
                                                            "VUV",
                                                            "LAK",
                                                            "BND",
                                                            "ZMK",
                                                            "XAF",
                                                            "LRD",
                                                            "CHF",
                                                            "HRK",
                                                            "ALL",
                                                            "DJF",
                                                            "ZMW",
                                                            "TZS",
                                                            "VND",
                                                            "SPL",
                                                            "AUD",
                                                            "ILS",
                                                            "GHS",
                                                            "GYD",
                                                            "KPW",
                                                            "BOB",
                                                            "KHR",
                                                            "MDL",
                                                            "IDR",
                                                            "KYD",
                                                            "AMD",
                                                            "BWP",
                                                            "SHP",
                                                            "TRY",
                                                            "LBP",
                                                            "TJS",
                                                            "JOD",
                                                            "AED",
                                                            "HKD",
                                                            "RWF",
                                                            "EUR",
                                                            "LSL",
                                                            "DKK",
                                                            "ZWD",
                                                            "CAD",
                                                            "BGN",
                                                            "MMK",
                                                            "MUR",
                                                            "NOK",
                                                            "SYP",
                                                            "IMP",
                                                            "GIP",
                                                            "RON",
                                                            "LKR",
                                                            "NGN",
                                                            "CRC",
                                                            "CZK",
                                                            "PKR",
                                                            "XCD",
                                                            "ANG",
                                                            "HTG",
                                                            "BHD",
                                                            "KZT",
                                                            "SRD",
                                                            "SZL",
                                                            "LTL",
                                                            "SAR",
                                                            "TTD",
                                                            "YER",
                                                            "MVR",
                                                            "AFN",
                                                            "INR",
                                                            "AWG",
                                                            "KRW",
                                                            "NPR",
                                                            "JPY",
                                                            "MNT",
                                                            "AOA",
                                                            "PLN",
                                                            "GBP",
                                                            "SBD",
                                                            "BYN",
                                                            "HUF",
                                                            "BYR",
                                                            "BIF",
                                                            "MWK",
                                                            "MGA",
                                                            "XDR",
                                                            "BZD",
                                                            "BAM",
                                                            "EGP",
                                                            "MOP",
                                                            "NAD",
                                                            "NIO",
                                                            "PEN",
                                                            "NZD",
                                                            "WST",
                                                            "TMT",
                                                            "BRL"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "FirstName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "SkypeUserName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasAttachments"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "Balances"
                                                    },
                                                    "model": {
                                                      "type": "Object",
                                                      "open": {
                                                        "type": "Any"
                                                      },
                                                      "fields": [
                                                        {
                                                          "key": {
                                                            "name": "AccountsPayable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        },
                                                        {
                                                          "key": {
                                                            "name": "AccountsReceivable"
                                                          },
                                                          "model": {
                                                            "type": "Object",
                                                            "open": {
                                                              "type": "Any"
                                                            },
                                                            "fields": [
                                                              {
                                                                "key": {
                                                                  "name": "Outstanding"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              },
                                                              {
                                                                "key": {
                                                                  "name": "Overdue"
                                                                },
                                                                "model": {
                                                                  "type": "Number"
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      ]
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactID"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "EmailAddress"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "AccountNumber"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 50
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "PurchasesTrackingCategories"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "TrackingCategoryName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "TrackingOptionName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryOption"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactPersons"
                                                    },
                                                    "model": {
                                                      "type": "Array",
                                                      "item": {
                                                        "type": "Object",
                                                        "open": {
                                                          "type": "Any"
                                                        },
                                                        "fields": [
                                                          {
                                                            "key": {
                                                              "name": "IncludeInEmails"
                                                            },
                                                            "model": {
                                                              "type": "Boolean"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "FirstName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "LastName"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          },
                                                          {
                                                            "key": {
                                                              "name": "EmailAddress"
                                                            },
                                                            "model": {
                                                              "type": "String"
                                                            }
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "ContactStatus"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "enum": {
                                                          "type": "[Ljava.lang.String;",
                                                          "values": [
                                                            "ACTIVE",
                                                            "ARCHIVED",
                                                            "GDPRREQUEST"
                                                          ]
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "LastName"
                                                    },
                                                    "model": {
                                                      "type": "String",
                                                      "annotations": {
                                                        "length": {
                                                          "max": 255
                                                        }
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "TrackingCategoryName"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "HasValidationErrors"
                                                    },
                                                    "model": {
                                                      "type": "Boolean"
                                                    }
                                                  },
                                                  {
                                                    "key": {
                                                      "name": "XeroNetworkKey"
                                                    },
                                                    "model": {
                                                      "type": "String"
                                                    }
                                                  }
                                                ]
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LineAmountTypes"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "Inclusive",
                                                      "NoTax",
                                                      "Exclusive"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "CurrencyCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "",
                                                      "FJD",
                                                      "MXN",
                                                      "SCR",
                                                      "TVD",
                                                      "CDF",
                                                      "BBD",
                                                      "GTQ",
                                                      "CLP",
                                                      "HNL",
                                                      "UGX",
                                                      "ZAR",
                                                      "TND",
                                                      "STN",
                                                      "CUC",
                                                      "BSD",
                                                      "SLL",
                                                      "SDG",
                                                      "IQD",
                                                      "CUP",
                                                      "GMD",
                                                      "TWD",
                                                      "RSD",
                                                      "DOP",
                                                      "KMF",
                                                      "MYR",
                                                      "FKP",
                                                      "XOF",
                                                      "GEL",
                                                      "UYU",
                                                      "MAD",
                                                      "CVE",
                                                      "TOP",
                                                      "AZN",
                                                      "OMR",
                                                      "PGK",
                                                      "KES",
                                                      "SEK",
                                                      "BTN",
                                                      "UAH",
                                                      "GNF",
                                                      "ERN",
                                                      "MZN",
                                                      "SVC",
                                                      "ARS",
                                                      "QAR",
                                                      "IRR",
                                                      "CNY",
                                                      "THB",
                                                      "UZS",
                                                      "XPF",
                                                      "MRU",
                                                      "BDT",
                                                      "LYD",
                                                      "BMD",
                                                      "KWD",
                                                      "PHP",
                                                      "RUB",
                                                      "PYG",
                                                      "ISK",
                                                      "JMD",
                                                      "COP",
                                                      "MKD",
                                                      "USD",
                                                      "DZD",
                                                      "PAB",
                                                      "GGP",
                                                      "SGD",
                                                      "ETB",
                                                      "JEP",
                                                      "KGS",
                                                      "SOS",
                                                      "VEF",
                                                      "VUV",
                                                      "LAK",
                                                      "BND",
                                                      "ZMK",
                                                      "XAF",
                                                      "LRD",
                                                      "CHF",
                                                      "HRK",
                                                      "ALL",
                                                      "DJF",
                                                      "ZMW",
                                                      "TZS",
                                                      "VND",
                                                      "SPL",
                                                      "AUD",
                                                      "ILS",
                                                      "GHS",
                                                      "GYD",
                                                      "KPW",
                                                      "BOB",
                                                      "KHR",
                                                      "MDL",
                                                      "IDR",
                                                      "KYD",
                                                      "AMD",
                                                      "BWP",
                                                      "SHP",
                                                      "TRY",
                                                      "LBP",
                                                      "TJS",
                                                      "JOD",
                                                      "AED",
                                                      "HKD",
                                                      "RWF",
                                                      "EUR",
                                                      "LSL",
                                                      "DKK",
                                                      "ZWD",
                                                      "CAD",
                                                      "BGN",
                                                      "MMK",
                                                      "MUR",
                                                      "NOK",
                                                      "SYP",
                                                      "IMP",
                                                      "GIP",
                                                      "RON",
                                                      "LKR",
                                                      "NGN",
                                                      "CRC",
                                                      "CZK",
                                                      "PKR",
                                                      "XCD",
                                                      "ANG",
                                                      "HTG",
                                                      "BHD",
                                                      "KZT",
                                                      "SRD",
                                                      "SZL",
                                                      "LTL",
                                                      "SAR",
                                                      "TTD",
                                                      "YER",
                                                      "MVR",
                                                      "AFN",
                                                      "INR",
                                                      "AWG",
                                                      "KRW",
                                                      "NPR",
                                                      "JPY",
                                                      "MNT",
                                                      "AOA",
                                                      "PLN",
                                                      "GBP",
                                                      "SBD",
                                                      "BYN",
                                                      "HUF",
                                                      "BYR",
                                                      "BIF",
                                                      "MWK",
                                                      "MGA",
                                                      "XDR",
                                                      "BZD",
                                                      "BAM",
                                                      "EGP",
                                                      "MOP",
                                                      "NAD",
                                                      "NIO",
                                                      "PEN",
                                                      "NZD",
                                                      "WST",
                                                      "TMT",
                                                      "BRL"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Type"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "SPEND-OVERPAYMENT",
                                                      "AROVERPAYMENT",
                                                      "RECEIVE-OVERPAYMENT"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "RemainingCredit"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TotalTax"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Total"
                                              },
                                              "model": {
                                                "type": "Number"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "OverpaymentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Date",
                                          "required": "true"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "UpdatedDateUTC"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyRate"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Reference"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "HasAttachments"
                                },
                                "model": {
                                  "type": "Boolean"
                                }
                              },
                              {
                                "key": {
                                  "name": "AppliedAmount"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "SubTotal"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Attachments"
                                },
                                "model": {
                                  "type": "Array",
                                  "item": {
                                    "type": "Object",
                                    "open": {
                                      "type": "Any"
                                    },
                                    "fields": [
                                      {
                                        "key": {
                                          "name": "FileName"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "ContentLength"
                                        },
                                        "model": {
                                          "type": "Number",
                                          "annotations": {
                                            "int": {}
                                          }
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "IncludeOnline"
                                        },
                                        "model": {
                                          "type": "Boolean"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "AttachmentID"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "Url"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      },
                                      {
                                        "key": {
                                          "name": "MimeType"
                                        },
                                        "model": {
                                          "type": "String"
                                        }
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Date"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "Contact"
                                },
                                "model": {
                                  "type": "Object",
                                  "open": {
                                    "type": "Any"
                                  },
                                  "fields": [
                                    {
                                      "key": {
                                        "name": "Discount"
                                      },
                                      "model": {
                                        "type": "Number"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "UpdatedDateUTC"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ValidationErrors"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Message"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Website"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PaymentTerms"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "Sales"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Bills"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Type"
                                                  },
                                                  "model": {
                                                    "type": "String",
                                                    "annotations": {
                                                      "enum": {
                                                        "type": "[Ljava.lang.String;",
                                                        "values": [
                                                          "OFCURRENTMONTH",
                                                          "OFFOLLOWINGMONTH",
                                                          "DAYSAFTERBILLMONTH",
                                                          "DAYSAFTERBILLDATE"
                                                        ]
                                                      }
                                                    }
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Day"
                                                  },
                                                  "model": {
                                                    "type": "Number",
                                                    "annotations": {
                                                      "int": {}
                                                    }
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Attachments"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "FileName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContentLength"
                                              },
                                              "model": {
                                                "type": "Number",
                                                "annotations": {
                                                  "int": {}
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "IncludeOnline"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttachmentID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Url"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "MimeType"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Name"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Addresses"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "AddressLine3"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine2"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine1"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AttentionTo"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressLine4"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 500
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Region"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PostalCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Country"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "City"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 255
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "AddressType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "POBOX",
                                                      "STREET"
                                                    ]
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SalesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsSupplier"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Phones"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "PhoneAreaCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 10
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneCountryCode"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 20
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneType"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "OFFICE",
                                                      "DDI",
                                                      "FAX",
                                                      "DEFAULT",
                                                      "MOBILE"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "PhoneNumber"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "length": {
                                                    "max": 50
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsReceivableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountsPayableTaxType"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BankAccountDetails"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesDefaultAccountCode"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BatchPayments"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "BankAccountName"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Details"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Reference"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Code"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "length": {
                                                  "max": 12
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BankAccountNumber"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TaxNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "BrandingTheme"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "CreatedDateUTC"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "BrandingThemeID"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Type"
                                            },
                                            "model": {
                                              "type": "String",
                                              "annotations": {
                                                "enum": {
                                                  "type": "[Ljava.lang.String;",
                                                  "values": [
                                                    "INVOICE"
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "LogoUrl"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "SortOrder"
                                            },
                                            "model": {
                                              "type": "Number",
                                              "annotations": {
                                                "int": {}
                                              }
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "Name"
                                            },
                                            "model": {
                                              "type": "String"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactGroups"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "Status"
                                              },
                                              "model": {
                                                "type": "String",
                                                "annotations": {
                                                  "enum": {
                                                    "type": "[Ljava.lang.String;",
                                                    "values": [
                                                      "ACTIVE",
                                                      "DELETED"
                                                    ]
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "ContactGroupID"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Contacts"
                                              },
                                              "model": {
                                                "type": "Array",
                                                "item": "#../../../.."
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "Name"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "IsCustomer"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "StatusAttributeString"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "DefaultCurrency"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "",
                                              "FJD",
                                              "MXN",
                                              "SCR",
                                              "TVD",
                                              "CDF",
                                              "BBD",
                                              "GTQ",
                                              "CLP",
                                              "HNL",
                                              "UGX",
                                              "ZAR",
                                              "TND",
                                              "STN",
                                              "CUC",
                                              "BSD",
                                              "SLL",
                                              "SDG",
                                              "IQD",
                                              "CUP",
                                              "GMD",
                                              "TWD",
                                              "RSD",
                                              "DOP",
                                              "KMF",
                                              "MYR",
                                              "FKP",
                                              "XOF",
                                              "GEL",
                                              "UYU",
                                              "MAD",
                                              "CVE",
                                              "TOP",
                                              "AZN",
                                              "OMR",
                                              "PGK",
                                              "KES",
                                              "SEK",
                                              "BTN",
                                              "UAH",
                                              "GNF",
                                              "ERN",
                                              "MZN",
                                              "SVC",
                                              "ARS",
                                              "QAR",
                                              "IRR",
                                              "CNY",
                                              "THB",
                                              "UZS",
                                              "XPF",
                                              "MRU",
                                              "BDT",
                                              "LYD",
                                              "BMD",
                                              "KWD",
                                              "PHP",
                                              "RUB",
                                              "PYG",
                                              "ISK",
                                              "JMD",
                                              "COP",
                                              "MKD",
                                              "USD",
                                              "DZD",
                                              "PAB",
                                              "GGP",
                                              "SGD",
                                              "ETB",
                                              "JEP",
                                              "KGS",
                                              "SOS",
                                              "VEF",
                                              "VUV",
                                              "LAK",
                                              "BND",
                                              "ZMK",
                                              "XAF",
                                              "LRD",
                                              "CHF",
                                              "HRK",
                                              "ALL",
                                              "DJF",
                                              "ZMW",
                                              "TZS",
                                              "VND",
                                              "SPL",
                                              "AUD",
                                              "ILS",
                                              "GHS",
                                              "GYD",
                                              "KPW",
                                              "BOB",
                                              "KHR",
                                              "MDL",
                                              "IDR",
                                              "KYD",
                                              "AMD",
                                              "BWP",
                                              "SHP",
                                              "TRY",
                                              "LBP",
                                              "TJS",
                                              "JOD",
                                              "AED",
                                              "HKD",
                                              "RWF",
                                              "EUR",
                                              "LSL",
                                              "DKK",
                                              "ZWD",
                                              "CAD",
                                              "BGN",
                                              "MMK",
                                              "MUR",
                                              "NOK",
                                              "SYP",
                                              "IMP",
                                              "GIP",
                                              "RON",
                                              "LKR",
                                              "NGN",
                                              "CRC",
                                              "CZK",
                                              "PKR",
                                              "XCD",
                                              "ANG",
                                              "HTG",
                                              "BHD",
                                              "KZT",
                                              "SRD",
                                              "SZL",
                                              "LTL",
                                              "SAR",
                                              "TTD",
                                              "YER",
                                              "MVR",
                                              "AFN",
                                              "INR",
                                              "AWG",
                                              "KRW",
                                              "NPR",
                                              "JPY",
                                              "MNT",
                                              "AOA",
                                              "PLN",
                                              "GBP",
                                              "SBD",
                                              "BYN",
                                              "HUF",
                                              "BYR",
                                              "BIF",
                                              "MWK",
                                              "MGA",
                                              "XDR",
                                              "BZD",
                                              "BAM",
                                              "EGP",
                                              "MOP",
                                              "NAD",
                                              "NIO",
                                              "PEN",
                                              "NZD",
                                              "WST",
                                              "TMT",
                                              "BRL"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "FirstName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "SkypeUserName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasAttachments"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "Balances"
                                      },
                                      "model": {
                                        "type": "Object",
                                        "open": {
                                          "type": "Any"
                                        },
                                        "fields": [
                                          {
                                            "key": {
                                              "name": "AccountsPayable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "key": {
                                              "name": "AccountsReceivable"
                                            },
                                            "model": {
                                              "type": "Object",
                                              "open": {
                                                "type": "Any"
                                              },
                                              "fields": [
                                                {
                                                  "key": {
                                                    "name": "Outstanding"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                },
                                                {
                                                  "key": {
                                                    "name": "Overdue"
                                                  },
                                                  "model": {
                                                    "type": "Number"
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactID"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "EmailAddress"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "AccountNumber"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 50
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "PurchasesTrackingCategories"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "TrackingCategoryName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "TrackingOptionName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryOption"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactPersons"
                                      },
                                      "model": {
                                        "type": "Array",
                                        "item": {
                                          "type": "Object",
                                          "open": {
                                            "type": "Any"
                                          },
                                          "fields": [
                                            {
                                              "key": {
                                                "name": "IncludeInEmails"
                                              },
                                              "model": {
                                                "type": "Boolean"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "FirstName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "LastName"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            },
                                            {
                                              "key": {
                                                "name": "EmailAddress"
                                              },
                                              "model": {
                                                "type": "String"
                                              }
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "ContactStatus"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "enum": {
                                            "type": "[Ljava.lang.String;",
                                            "values": [
                                              "ACTIVE",
                                              "ARCHIVED",
                                              "GDPRREQUEST"
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "LastName"
                                      },
                                      "model": {
                                        "type": "String",
                                        "annotations": {
                                          "length": {
                                            "max": 255
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "TrackingCategoryName"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "HasValidationErrors"
                                      },
                                      "model": {
                                        "type": "Boolean"
                                      }
                                    },
                                    {
                                      "key": {
                                        "name": "XeroNetworkKey"
                                      },
                                      "model": {
                                        "type": "String"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "key": {
                                  "name": "LineAmountTypes"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "Inclusive",
                                        "NoTax",
                                        "Exclusive"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "CurrencyCode"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "",
                                        "FJD",
                                        "MXN",
                                        "SCR",
                                        "TVD",
                                        "CDF",
                                        "BBD",
                                        "GTQ",
                                        "CLP",
                                        "HNL",
                                        "UGX",
                                        "ZAR",
                                        "TND",
                                        "STN",
                                        "CUC",
                                        "BSD",
                                        "SLL",
                                        "SDG",
                                        "IQD",
                                        "CUP",
                                        "GMD",
                                        "TWD",
                                        "RSD",
                                        "DOP",
                                        "KMF",
                                        "MYR",
                                        "FKP",
                                        "XOF",
                                        "GEL",
                                        "UYU",
                                        "MAD",
                                        "CVE",
                                        "TOP",
                                        "AZN",
                                        "OMR",
                                        "PGK",
                                        "KES",
                                        "SEK",
                                        "BTN",
                                        "UAH",
                                        "GNF",
                                        "ERN",
                                        "MZN",
                                        "SVC",
                                        "ARS",
                                        "QAR",
                                        "IRR",
                                        "CNY",
                                        "THB",
                                        "UZS",
                                        "XPF",
                                        "MRU",
                                        "BDT",
                                        "LYD",
                                        "BMD",
                                        "KWD",
                                        "PHP",
                                        "RUB",
                                        "PYG",
                                        "ISK",
                                        "JMD",
                                        "COP",
                                        "MKD",
                                        "USD",
                                        "DZD",
                                        "PAB",
                                        "GGP",
                                        "SGD",
                                        "ETB",
                                        "JEP",
                                        "KGS",
                                        "SOS",
                                        "VEF",
                                        "VUV",
                                        "LAK",
                                        "BND",
                                        "ZMK",
                                        "XAF",
                                        "LRD",
                                        "CHF",
                                        "HRK",
                                        "ALL",
                                        "DJF",
                                        "ZMW",
                                        "TZS",
                                        "VND",
                                        "SPL",
                                        "AUD",
                                        "ILS",
                                        "GHS",
                                        "GYD",
                                        "KPW",
                                        "BOB",
                                        "KHR",
                                        "MDL",
                                        "IDR",
                                        "KYD",
                                        "AMD",
                                        "BWP",
                                        "SHP",
                                        "TRY",
                                        "LBP",
                                        "TJS",
                                        "JOD",
                                        "AED",
                                        "HKD",
                                        "RWF",
                                        "EUR",
                                        "LSL",
                                        "DKK",
                                        "ZWD",
                                        "CAD",
                                        "BGN",
                                        "MMK",
                                        "MUR",
                                        "NOK",
                                        "SYP",
                                        "IMP",
                                        "GIP",
                                        "RON",
                                        "LKR",
                                        "NGN",
                                        "CRC",
                                        "CZK",
                                        "PKR",
                                        "XCD",
                                        "ANG",
                                        "HTG",
                                        "BHD",
                                        "KZT",
                                        "SRD",
                                        "SZL",
                                        "LTL",
                                        "SAR",
                                        "TTD",
                                        "YER",
                                        "MVR",
                                        "AFN",
                                        "INR",
                                        "AWG",
                                        "KRW",
                                        "NPR",
                                        "JPY",
                                        "MNT",
                                        "AOA",
                                        "PLN",
                                        "GBP",
                                        "SBD",
                                        "BYN",
                                        "HUF",
                                        "BYR",
                                        "BIF",
                                        "MWK",
                                        "MGA",
                                        "XDR",
                                        "BZD",
                                        "BAM",
                                        "EGP",
                                        "MOP",
                                        "NAD",
                                        "NIO",
                                        "PEN",
                                        "NZD",
                                        "WST",
                                        "TMT",
                                        "BRL"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "Type"
                                },
                                "model": {
                                  "type": "String",
                                  "annotations": {
                                    "enum": {
                                      "type": "[Ljava.lang.String;",
                                      "values": [
                                        "ARPREPAYMENT",
                                        "SPEND-PREPAYMENT",
                                        "APPREPAYMENT",
                                        "RECEIVE-PREPAYMENT"
                                      ]
                                    }
                                  }
                                }
                              },
                              {
                                "key": {
                                  "name": "PrepaymentID"
                                },
                                "model": {
                                  "type": "String"
                                }
                              },
                              {
                                "key": {
                                  "name": "RemainingCredit"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "TotalTax"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              },
                              {
                                "key": {
                                  "name": "Total"
                                },
                                "model": {
                                  "type": "Number"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": {
                            "name": "HasValidationErrors"
                          },
                          "model": {
                            "type": "Boolean"
                          }
                        },
                        {
                          "key": {
                            "name": "BankAccountNumber"
                          },
                          "model": {
                            "type": "String"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "outputAttributes": {
            "type": {
              "format": "java",
              "type": "@ref:com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes"
            },
            "hasDynamicType": false,
            "description": "",
            "modelProperties": {}
          },
          "transactional": false,
          "requiresConnection": true,
          "supportsStreaming": true,
          "notifications": [],
          "nestedComponents": [],
          "errors": [],
          "stereotype": {
            "type": "ON_NEW_OR_UPDATED_PAYMENTS_TRIGGER",
            "namespace": "XERO-ACCOUNTING",
            "parent": {
              "type": "SOURCE",
              "namespace": "XERO-ACCOUNTING",
              "parent": {
                "type": "SOURCE",
                "namespace": "MULE"
              }
            }
          },
          "parameterGroupModels": [
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 1
                  },
                  "allowedStereotypeModels": [],
                  "name": "modifiedSince",
                  "displayModel": {
                    "displayName": "Modified Since",
                    "summary": "Retrieve records starting at this point in time."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "String"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 2
                  },
                  "allowedStereotypeModels": [],
                  "name": "xeroTenantId",
                  "displayModel": {
                    "displayName": "Xero tenant id",
                    "summary": "Xero identifier for Tenant."
                  },
                  "description": "",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "org.mule.runtime.extension.api.runtime.config.ConfigurationProvider"
                    },
                    "fields": []
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": true,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 5
                  },
                  "allowedStereotypeModels": [
                    {
                      "type": "CONFIG",
                      "namespace": "XERO-ACCOUNTING",
                      "parent": {
                        "type": "MODULE_CONFIG",
                        "namespace": "MULE"
                      }
                    }
                  ],
                  "name": "config-ref",
                  "description": "The name of the configuration to be used to execute this component",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Boolean"
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "defaultValue": false,
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": false,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 8,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "primaryNodeOnly",
                  "description": "Whether this source should only be executed on the primary node when runnning in Cluster",
                  "modelProperties": {}
                },
                {
                  "type": {
                    "format": "java",
                    "type": "@ref:org.mule.runtime.core.api.source.scheduler.Scheduler"
                  },
                  "hasDynamicType": false,
                  "required": true,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 3
                  },
                  "allowedStereotypeModels": [],
                  "name": "schedulingStrategy",
                  "description": "Configures the scheduler that triggers the polling",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 10
                    },
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "scheduling-strategy",
                        "prefix": "mule"
                      }
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ByteStreamingStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-in-memory-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "initialBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferSizeIncrement"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "maxBufferSize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "1024"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which all these attributes are expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "repeatable-file-store-stream"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "inMemorySize"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "512"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk."
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "bufferUnit"
                            },
                            "model": {
                              "type": "String",
                              "annotations": {
                                "enum": {
                                  "type": "[Ljava.lang.String;",
                                  "values": [
                                    "BYTE",
                                    "KB",
                                    "MB",
                                    "GB"
                                  ]
                                },
                                "default": "KB"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "The unit in which maxInMemorySize is expressed"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "non-repeatable-stream",
                          "description": {
                            "value": "This configuration allows the input stream to be read only once. It will not allow to seek randomly which will limit the transformations that DW can perform on this stream. Use this option for use cases which just require moving data around from one system to another to get optimum performance."
                          }
                        },
                        "fields": []
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 4,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "streamingStrategy",
                  "description": "Configure if repeatable streams should be used and their behaviour",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-byte-streaming-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 2
                    }
                  }
                },
                {
                  "type": {
                    "format": "java",
                    "type": "Object",
                    "annotations": {
                      "typeId": "RedeliveryPolicy"
                    },
                    "fields": [
                      {
                        "key": {
                          "name": "maxRedeliveryCount"
                        },
                        "model": {
                          "type": "Number",
                          "annotations": {
                            "int": {},
                            "default": "5"
                          }
                        },
                        "annotations": {
                          "description": {
                            "value": "The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message"
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "messageDigestAlgorithm"
                        },
                        "model": {
                          "type": "String"
                        },
                        "annotations": {
                          "description": {
                            "value": "The secure hashing algorithm to use. If not set, the default is SHA-256."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "MessageIdentifier"
                        },
                        "model": {
                          "type": "Object",
                          "annotations": {
                            "typeId": "RedeliveryPolicyMessageIdentifier",
                            "exclusiveOptionals": {
                              "exclusiveParameterNames": [
                                "useSecureHash",
                                "idExpression"
                              ],
                              "isOneRequired": true
                            }
                          },
                          "fields": [
                            {
                              "key": {
                                "name": "useSecureHash"
                              },
                              "model": {
                                "type": "Boolean",
                                "annotations": {
                                  "default": "true"
                                }
                              },
                              "annotations": {
                                "description": {
                                  "value": "Whether to use a secure hash algorithm to identify a redelivered message"
                                }
                              }
                            },
                            {
                              "key": {
                                "name": "idExpression"
                              },
                              "model": {
                                "type": "String"
                              },
                              "annotations": {
                                "description": {
                                  "value": "Defines one or more expressions to use to determine when a message has been redelivered. This property may only be set if useSecureHash is false."
                                }
                              }
                            }
                          ]
                        },
                        "annotations": {
                          "flattened": {},
                          "description": {
                            "value": "Defines which strategy is used to identify the messages."
                          }
                        }
                      },
                      {
                        "key": {
                          "name": "objectStore"
                        },
                        "model": {
                          "type": "@ref:org.mule.runtime.api.store.ObjectStore"
                        },
                        "annotations": {
                          "stereotype": {
                            "allowedStereotypes": [
                              {
                                "type": "OBJECT_STORE",
                                "namespace": "OS"
                              }
                            ]
                          },
                          "description": {
                            "value": "The object store where the redelivery counter for each message is going to be stored."
                          }
                        }
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 6,
                    "tabName": "Redelivery"
                  },
                  "allowedStereotypeModels": [],
                  "name": "redeliveryPolicy",
                  "description": "Defines a policy for processing the redelivery of the same message",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-redelivery-policy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 1
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "showInDsl": false,
              "name": "General",
              "description": "",
              "modelProperties": {}
            },
            {
              "parameters": [
                {
                  "type": {
                    "format": "java",
                    "type": "Union",
                    "annotations": {
                      "typeId": "ReconnectionStrategy"
                    },
                    "of": [
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "count"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "default": "2"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How many reconnection attempts to make"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Object",
                        "annotations": {
                          "typeId": "reconnect-forever"
                        },
                        "fields": [
                          {
                            "key": {
                              "name": "frequency"
                            },
                            "model": {
                              "type": "Number",
                              "annotations": {
                                "int": {},
                                "classInformation": {
                                  "classname": "java.lang.Long",
                                  "hasDefaultConstructor": false,
                                  "isInterface": false,
                                  "isInstantiable": false,
                                  "isAbstract": false,
                                  "isFinal": true,
                                  "implementedInterfaces": [
                                    "java.lang.Comparable"
                                  ],
                                  "parent": "java.lang.Number",
                                  "genericTypes": [],
                                  "isMap": false
                                },
                                "default": "2000"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "How often (in ms) to reconnect"
                              }
                            }
                          },
                          {
                            "key": {
                              "name": "blocking"
                            },
                            "model": {
                              "type": "Boolean",
                              "annotations": {
                                "default": "true"
                              }
                            },
                            "annotations": {
                              "description": {
                                "value": "If false, the reconnection strategy will run in a separate, non-blocking thread"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "hasDynamicType": false,
                  "required": false,
                  "isConfigOverride": false,
                  "isComponentId": false,
                  "expressionSupport": "NOT_SUPPORTED",
                  "role": "BEHAVIOUR",
                  "dslConfiguration": {
                    "allowsInlineDefinition": true,
                    "allowsReferences": false,
                    "allowTopLevelDefinition": false
                  },
                  "layoutModel": {
                    "password": false,
                    "text": false,
                    "query": false,
                    "order": 7,
                    "tabName": "Advanced"
                  },
                  "allowedStereotypeModels": [],
                  "name": "reconnectionStrategy",
                  "description": "A retry strategy in case of connectivity errors",
                  "modelProperties": {
                    "org.mule.runtime.extension.api.property.QNameModelProperty": {
                      "value": {
                        "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                        "localPart": "abstract-reconnection-strategy",
                        "prefix": "mule"
                      }
                    },
                    "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                      "sequence": 3
                    }
                  }
                }
              ],
              "exclusiveParametersModels": [],
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "showInDsl": false,
              "name": "Connection",
              "description": "",
              "modelProperties": {}
            }
          ],
          "name": "OnNewOrUpdatedPaymentsTrigger",
          "description": "",
          "modelProperties": {},
          "kind": "source"
        }
      ],
      "name": "config",
      "description": "",
      "modelProperties": {}
    }
  ],
  "operations": [],
  "functions": [],
  "constructs": [],
  "connectionProviders": [],
  "messageSources": [],
  "notifications": [],
  "errors": [
    {
      "error": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "MULE:RETRY_EXHAUSTED",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:CONNECTIVITY",
      "parent": "MULE:CONNECTIVITY",
      "handleable": true
    },
    {
      "error": "MULE:CONNECTIVITY",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:RETRY_EXHAUSTED",
      "parent": "MULE:RETRY_EXHAUSTED",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:NOT_ACCEPTABLE",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:TIMEOUT",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:CLIENT_ERROR",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:BAD_REQUEST",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:INTERNAL_SERVER_ERROR",
      "parent": "XERO-ACCOUNTING:SERVER_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:SERVER_ERROR",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:SERVICE_UNAVAILABLE",
      "parent": "XERO-ACCOUNTING:SERVER_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:TOO_MANY_REQUESTS",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:UNSUPPORTED_MEDIA_TYPE",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:UNAUTHORIZED",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    },
    {
      "error": "XERO-ACCOUNTING:NOT_FOUND",
      "parent": "XERO-ACCOUNTING:CLIENT_ERROR",
      "handleable": true
    }
  ],
  "modelProperties": {},
  "types": [
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes",
        "classInformation": {
          "classname": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.operation.HttpResponseAttributes",
          "hasDefaultConstructor": false,
          "isInterface": false,
          "isInstantiable": false,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [
            "java.io.Serializable"
          ],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "HttpResponseAttributes"
        }
      },
      "fields": [
        {
          "key": {
            "name": "statusCode",
            "required": "true"
          },
          "model": {
            "type": "Number",
            "annotations": {
              "classInformation": {
                "classname": "int",
                "hasDefaultConstructor": false,
                "isInterface": false,
                "isInstantiable": false,
                "isAbstract": true,
                "isFinal": true,
                "implementedInterfaces": [],
                "parent": "",
                "genericTypes": [],
                "isMap": false
              },
              "int": {}
            }
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "headers",
            "required": "true"
          },
          "model": {
            "type": "Object",
            "annotations": {
              "classInformation": {
                "classname": "org.mule.runtime.api.util.MultiMap",
                "hasDefaultConstructor": true,
                "isInterface": false,
                "isInstantiable": true,
                "isAbstract": false,
                "isFinal": false,
                "implementedInterfaces": [
                  "java.util.Map",
                  "java.io.Serializable"
                ],
                "parent": "",
                "genericTypes": [
                  "java.lang.String",
                  "java.lang.String"
                ],
                "isMap": true
              }
            },
            "open": {
              "type": "String"
            },
            "fields": []
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "reasonPhrase",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.proxy.HttpProxyConfig",
        "classInformation": {
          "classname": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.proxy.HttpProxyConfig",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [
            "org.mule.runtime.http.api.client.proxy.ProxyConfig"
          ],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeDsl": {
          "allowInlineDefinition": true,
          "allowTopLevelDefinition": true
        },
        "typeAlias": {
          "value": "proxy"
        }
      },
      "fields": [
        {
          "key": {
            "name": "host",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "port",
            "required": "true"
          },
          "model": {
            "type": "Number",
            "annotations": {
              "classInformation": {
                "classname": "int",
                "hasDefaultConstructor": false,
                "isInterface": false,
                "isInstantiable": false,
                "isAbstract": true,
                "isFinal": true,
                "implementedInterfaces": [],
                "parent": "",
                "genericTypes": [],
                "isMap": false
              },
              "int": {}
            }
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "username"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "password"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            },
            "layout": {
              "layoutModel": {
                "password": true,
                "text": false,
                "query": false
              }
            }
          }
        },
        {
          "key": {
            "name": "nonProxyHosts"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.QueryParam",
        "classInformation": {
          "classname": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.QueryParam",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.KeyValue",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "defaultQueryParam"
        }
      },
      "fields": [
        {
          "key": {
            "name": "key",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "value",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.RequestHeader",
        "classInformation": {
          "classname": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.RequestHeader",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "com.mulesoft.connectivity.xeroaccountingconnector.rest.commons.api.request.KeyValue",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "defaultHeader"
        }
      },
      "fields": [
        {
          "key": {
            "name": "key",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "value",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectors.xeroaccounting.api.Address",
        "classInformation": {
          "classname": "com.mulesoft.connectors.xeroaccounting.api.Address",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "Address"
        }
      },
      "fields": [
        {
          "key": {
            "name": "addressType"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "default": "POBOX",
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Type",
                "summary": "Type of address for this contact"
              }
            }
          }
        },
        {
          "key": {
            "name": "line1"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Line 1"
              }
            }
          }
        },
        {
          "key": {
            "name": "line2"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Line 2"
              }
            }
          }
        },
        {
          "key": {
            "name": "line3"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Line 3"
              }
            }
          }
        },
        {
          "key": {
            "name": "line4"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Line 4"
              }
            }
          }
        },
        {
          "key": {
            "name": "city"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "City",
                "summary": "City"
              }
            }
          }
        },
        {
          "key": {
            "name": "region"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Region",
                "summary": "Region"
              }
            }
          }
        },
        {
          "key": {
            "name": "postalCode"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Postal code",
                "summary": "Postal code"
              }
            }
          }
        },
        {
          "key": {
            "name": "country"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Country",
                "summary": "Country"
              }
            }
          }
        },
        {
          "key": {
            "name": "attentionTo"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Attention to",
                "summary": "Name of attention to person"
              }
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectors.xeroaccounting.api.Item",
        "classInformation": {
          "classname": "com.mulesoft.connectors.xeroaccounting.api.Item",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "Item"
        }
      },
      "fields": [
        {
          "key": {
            "name": "description"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Description"
              }
            }
          }
        },
        {
          "key": {
            "name": "quantity"
          },
          "model": {
            "type": "Number",
            "annotations": {
              "classInformation": {
                "classname": "java.lang.Double",
                "hasDefaultConstructor": false,
                "isInterface": false,
                "isInstantiable": false,
                "isAbstract": false,
                "isFinal": true,
                "implementedInterfaces": [
                  "java.lang.Comparable"
                ],
                "parent": "java.lang.Number",
                "genericTypes": [],
                "isMap": false
              }
            }
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Quantity"
              }
            }
          }
        },
        {
          "key": {
            "name": "unitAmount"
          },
          "model": {
            "type": "Number",
            "annotations": {
              "classInformation": {
                "classname": "java.lang.Double",
                "hasDefaultConstructor": false,
                "isInterface": false,
                "isInstantiable": false,
                "isAbstract": false,
                "isFinal": true,
                "implementedInterfaces": [
                  "java.lang.Comparable"
                ],
                "parent": "java.lang.Number",
                "genericTypes": [],
                "isMap": false
              }
            }
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Unit amount",
                "summary": "Amount per unit"
              }
            }
          }
        },
        {
          "key": {
            "name": "lineAmount"
          },
          "model": {
            "type": "Number",
            "annotations": {
              "classInformation": {
                "classname": "java.lang.Double",
                "hasDefaultConstructor": false,
                "isInterface": false,
                "isInstantiable": false,
                "isAbstract": false,
                "isFinal": true,
                "implementedInterfaces": [
                  "java.lang.Comparable"
                ],
                "parent": "java.lang.Number",
                "genericTypes": [],
                "isMap": false
              }
            }
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Line amount"
              }
            }
          }
        },
        {
          "key": {
            "name": "discountRate"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Discount rate"
              }
            }
          }
        },
        {
          "key": {
            "name": "itemCode"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Item code",
                "summary": "User defined item code"
              }
            }
          }
        },
        {
          "key": {
            "name": "accountCode"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Account code"
              }
            }
          }
        },
        {
          "key": {
            "name": "taxType"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Tax type",
                "summary": "Tax type for this item if the default tax type associated with the account type above isn\u0027t correct"
              }
            }
          }
        },
        {
          "key": {
            "name": "taxAmount"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Tax amount",
                "summary": "Tax amount of this item to override the default type if it isn\u0027t correct"
              }
            }
          }
        }
      ]
    },
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "com.mulesoft.connectors.xeroaccounting.api.PhoneNumber",
        "classInformation": {
          "classname": "com.mulesoft.connectors.xeroaccounting.api.PhoneNumber",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "PhoneNumber"
        }
      },
      "fields": [
        {
          "key": {
            "name": "phoneType"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "default": "DEFAULT",
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Type",
                "summary": "Type of phone number for this contact"
              }
            }
          }
        },
        {
          "key": {
            "name": "number"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Number"
              }
            }
          }
        },
        {
          "key": {
            "name": "areaCode"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Area code"
              }
            }
          }
        },
        {
          "key": {
            "name": "countryCode"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "expressionSupport": {
              "value": "SUPPORTED"
            },
            "display": {
              "displayModel": {
                "displayName": "Country code"
              }
            }
          }
        }
      ]
    }
  ]
}
